Interface CustomContentConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CustomContentConfiguration.Builder,
,CustomContentConfiguration> SdkBuilder<CustomContentConfiguration.Builder,
,CustomContentConfiguration> SdkPojo
- Enclosing class:
CustomContentConfiguration
-
Method Summary
Modifier and TypeMethodDescriptioncontentType
(String contentType) The content type of the custom content visual.contentType
(CustomContentType contentType) The content type of the custom content visual.contentUrl
(String contentUrl) The input URL that links to the custom content that you want in the custom visual.imageScaling
(String imageScaling) The sizing options for the size of the custom content visual.imageScaling
(CustomContentImageScalingConfiguration imageScaling) The sizing options for the size of the custom content visual.interactions
(Consumer<VisualInteractionOptions.Builder> interactions) The general visual interactions setup for a visual.interactions
(VisualInteractionOptions interactions) The general visual interactions setup for a visual.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
contentUrl
The input URL that links to the custom content that you want in the custom visual.
- Parameters:
contentUrl
- The input URL that links to the custom content that you want in the custom visual.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentType
The content type of the custom content visual. You can use this to have the visual render as an image.
- Parameters:
contentType
- The content type of the custom content visual. You can use this to have the visual render as an image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
contentType
The content type of the custom content visual. You can use this to have the visual render as an image.
- Parameters:
contentType
- The content type of the custom content visual. You can use this to have the visual render as an image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
imageScaling
The sizing options for the size of the custom content visual. This structure is required when the
ContentType
of the visual is'IMAGE'
.- Parameters:
imageScaling
- The sizing options for the size of the custom content visual. This structure is required when theContentType
of the visual is'IMAGE'
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
imageScaling
CustomContentConfiguration.Builder imageScaling(CustomContentImageScalingConfiguration imageScaling) The sizing options for the size of the custom content visual. This structure is required when the
ContentType
of the visual is'IMAGE'
.- Parameters:
imageScaling
- The sizing options for the size of the custom content visual. This structure is required when theContentType
of the visual is'IMAGE'
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
interactions
The general visual interactions setup for a visual.
- Parameters:
interactions
- The general visual interactions setup for a visual.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
interactions
default CustomContentConfiguration.Builder interactions(Consumer<VisualInteractionOptions.Builder> interactions) The general visual interactions setup for a visual.
This is a convenience method that creates an instance of theVisualInteractionOptions.Builder
avoiding the need to create one manually viaVisualInteractionOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tointeractions(VisualInteractionOptions)
.- Parameters:
interactions
- a consumer that will call methods onVisualInteractionOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-