Interface CustomContentVisual.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CustomContentVisual.Builder,CustomContentVisual>,SdkBuilder<CustomContentVisual.Builder,CustomContentVisual>,SdkPojo
- Enclosing class:
- CustomContentVisual
@Mutable @NotThreadSafe public static interface CustomContentVisual.Builder extends SdkPojo, CopyableBuilder<CustomContentVisual.Builder,CustomContentVisual>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CustomContentVisual.Builderactions(Collection<VisualCustomAction> actions)The list of custom actions that are configured for a visual.CustomContentVisual.Builderactions(Consumer<VisualCustomAction.Builder>... actions)The list of custom actions that are configured for a visual.CustomContentVisual.Builderactions(VisualCustomAction... actions)The list of custom actions that are configured for a visual.default CustomContentVisual.BuilderchartConfiguration(Consumer<CustomContentConfiguration.Builder> chartConfiguration)The configuration of aCustomContentVisual.CustomContentVisual.BuilderchartConfiguration(CustomContentConfiguration chartConfiguration)The configuration of aCustomContentVisual.CustomContentVisual.BuilderdataSetIdentifier(String dataSetIdentifier)The dataset that is used to create the custom content visual.default CustomContentVisual.Buildersubtitle(Consumer<VisualSubtitleLabelOptions.Builder> subtitle)The subtitle that is displayed on the visual.CustomContentVisual.Buildersubtitle(VisualSubtitleLabelOptions subtitle)The subtitle that is displayed on the visual.default CustomContentVisual.Buildertitle(Consumer<VisualTitleLabelOptions.Builder> title)The title that is displayed on the visual.CustomContentVisual.Buildertitle(VisualTitleLabelOptions title)The title that is displayed on the visual.CustomContentVisual.BuildervisualContentAltText(String visualContentAltText)The alt text for the visual.CustomContentVisual.BuildervisualId(String visualId)The unique identifier of 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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
visualId
CustomContentVisual.Builder visualId(String visualId)
The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers.
- Parameters:
visualId- The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
title
CustomContentVisual.Builder title(VisualTitleLabelOptions title)
The title that is displayed on the visual.
- Parameters:
title- The title that is displayed on the visual.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
title
default CustomContentVisual.Builder title(Consumer<VisualTitleLabelOptions.Builder> title)
The title that is displayed on the visual.
This is a convenience method that creates an instance of theVisualTitleLabelOptions.Builderavoiding the need to create one manually viaVisualTitleLabelOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totitle(VisualTitleLabelOptions).- Parameters:
title- a consumer that will call methods onVisualTitleLabelOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
title(VisualTitleLabelOptions)
-
subtitle
CustomContentVisual.Builder subtitle(VisualSubtitleLabelOptions subtitle)
The subtitle that is displayed on the visual.
- Parameters:
subtitle- The subtitle that is displayed on the visual.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subtitle
default CustomContentVisual.Builder subtitle(Consumer<VisualSubtitleLabelOptions.Builder> subtitle)
The subtitle that is displayed on the visual.
This is a convenience method that creates an instance of theVisualSubtitleLabelOptions.Builderavoiding the need to create one manually viaVisualSubtitleLabelOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosubtitle(VisualSubtitleLabelOptions).- Parameters:
subtitle- a consumer that will call methods onVisualSubtitleLabelOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
subtitle(VisualSubtitleLabelOptions)
-
chartConfiguration
CustomContentVisual.Builder chartConfiguration(CustomContentConfiguration chartConfiguration)
The configuration of a
CustomContentVisual.- Parameters:
chartConfiguration- The configuration of aCustomContentVisual.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
chartConfiguration
default CustomContentVisual.Builder chartConfiguration(Consumer<CustomContentConfiguration.Builder> chartConfiguration)
The configuration of a
This is a convenience method that creates an instance of theCustomContentVisual.CustomContentConfiguration.Builderavoiding the need to create one manually viaCustomContentConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tochartConfiguration(CustomContentConfiguration).- Parameters:
chartConfiguration- a consumer that will call methods onCustomContentConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
chartConfiguration(CustomContentConfiguration)
-
actions
CustomContentVisual.Builder actions(Collection<VisualCustomAction> actions)
The list of custom actions that are configured for a visual.
- Parameters:
actions- The list of custom actions that are configured for a visual.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
CustomContentVisual.Builder actions(VisualCustomAction... actions)
The list of custom actions that are configured for a visual.
- Parameters:
actions- The list of custom actions that are configured for a visual.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
CustomContentVisual.Builder actions(Consumer<VisualCustomAction.Builder>... actions)
The list of custom actions that are configured for a visual.
This is a convenience method that creates an instance of theVisualCustomAction.Builderavoiding the need to create one manually viaVisualCustomAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#actions(List.) - Parameters:
actions- a consumer that will call methods onVisualCustomAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#actions(java.util.Collection)
-
dataSetIdentifier
CustomContentVisual.Builder dataSetIdentifier(String dataSetIdentifier)
The dataset that is used to create the custom content visual. You can't create a visual without a dataset.
- Parameters:
dataSetIdentifier- The dataset that is used to create the custom content visual. You can't create a visual without a dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
visualContentAltText
CustomContentVisual.Builder visualContentAltText(String visualContentAltText)
The alt text for the visual.
- Parameters:
visualContentAltText- The alt text for the visual.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-