Interface CustomContentConfiguration.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<CustomContentConfiguration.Builder,CustomContentConfiguration>
,SdkBuilder<CustomContentConfiguration.Builder,CustomContentConfiguration>
,SdkPojo
- Enclosing class:
- CustomContentConfiguration
public static interface CustomContentConfiguration.Builder extends SdkPojo, CopyableBuilder<CustomContentConfiguration.Builder,CustomContentConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CustomContentConfiguration.Builder
contentType(String contentType)
The content type of the custom content visual.CustomContentConfiguration.Builder
contentType(CustomContentType contentType)
The content type of the custom content visual.CustomContentConfiguration.Builder
contentUrl(String contentUrl)
The input URL that links to the custom content that you want in the custom visual.CustomContentConfiguration.Builder
imageScaling(String imageScaling)
The sizing options for the size of the custom content visual.CustomContentConfiguration.Builder
imageScaling(CustomContentImageScalingConfiguration imageScaling)
The sizing options for the size of the custom content visual.default CustomContentConfiguration.Builder
interactions(Consumer<VisualInteractionOptions.Builder> interactions)
The general visual interactions setup for a visual.CustomContentConfiguration.Builder
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 Detail
-
contentUrl
CustomContentConfiguration.Builder contentUrl(String 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
CustomContentConfiguration.Builder contentType(String 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:
CustomContentType
,CustomContentType
-
contentType
CustomContentConfiguration.Builder contentType(CustomContentType 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:
CustomContentType
,CustomContentType
-
imageScaling
CustomContentConfiguration.Builder imageScaling(String 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:
CustomContentImageScalingConfiguration
,CustomContentImageScalingConfiguration
-
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:
CustomContentImageScalingConfiguration
,CustomContentImageScalingConfiguration
-
interactions
CustomContentConfiguration.Builder interactions(VisualInteractionOptions 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:
interactions(VisualInteractionOptions)
-
-