Interface InsightVisual.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<InsightVisual.Builder,InsightVisual>,SdkBuilder<InsightVisual.Builder,InsightVisual>,SdkPojo
- Enclosing class:
- InsightVisual
@Mutable @NotThreadSafe public static interface InsightVisual.Builder extends SdkPojo, CopyableBuilder<InsightVisual.Builder,InsightVisual>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description InsightVisual.Builderactions(Collection<VisualCustomAction> actions)The list of custom actions that are configured for a visual.InsightVisual.Builderactions(Consumer<VisualCustomAction.Builder>... actions)The list of custom actions that are configured for a visual.InsightVisual.Builderactions(VisualCustomAction... actions)The list of custom actions that are configured for a visual.InsightVisual.BuilderdataSetIdentifier(String dataSetIdentifier)The dataset that is used in the insight visual.default InsightVisual.BuilderinsightConfiguration(Consumer<InsightConfiguration.Builder> insightConfiguration)The configuration of an insight visual.InsightVisual.BuilderinsightConfiguration(InsightConfiguration insightConfiguration)The configuration of an insight visual.default InsightVisual.Buildersubtitle(Consumer<VisualSubtitleLabelOptions.Builder> subtitle)The subtitle that is displayed on the visual.InsightVisual.Buildersubtitle(VisualSubtitleLabelOptions subtitle)The subtitle that is displayed on the visual.default InsightVisual.Buildertitle(Consumer<VisualTitleLabelOptions.Builder> title)The title that is displayed on the visual.InsightVisual.Buildertitle(VisualTitleLabelOptions title)The title that is displayed on the visual.InsightVisual.BuildervisualContentAltText(String visualContentAltText)The alt text for the visual.InsightVisual.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
InsightVisual.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
InsightVisual.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 InsightVisual.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
InsightVisual.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 InsightVisual.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)
-
insightConfiguration
InsightVisual.Builder insightConfiguration(InsightConfiguration insightConfiguration)
The configuration of an insight visual.
- Parameters:
insightConfiguration- The configuration of an insight visual.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
insightConfiguration
default InsightVisual.Builder insightConfiguration(Consumer<InsightConfiguration.Builder> insightConfiguration)
The configuration of an insight visual.
This is a convenience method that creates an instance of theInsightConfiguration.Builderavoiding the need to create one manually viaInsightConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinsightConfiguration(InsightConfiguration).- Parameters:
insightConfiguration- a consumer that will call methods onInsightConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
insightConfiguration(InsightConfiguration)
-
actions
InsightVisual.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
InsightVisual.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
InsightVisual.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
InsightVisual.Builder dataSetIdentifier(String dataSetIdentifier)
The dataset that is used in the insight visual.
- Parameters:
dataSetIdentifier- The dataset that is used in the insight visual.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
visualContentAltText
InsightVisual.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.
-
-