Interface HistogramVisual.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<HistogramVisual.Builder,
,HistogramVisual> SdkBuilder<HistogramVisual.Builder,
,HistogramVisual> SdkPojo
- Enclosing class:
HistogramVisual
-
Method Summary
Modifier and TypeMethodDescriptionactions
(Collection<VisualCustomAction> actions) The list of custom actions that are configured for a visual.actions
(Consumer<VisualCustomAction.Builder>... actions) The list of custom actions that are configured for a visual.actions
(VisualCustomAction... actions) The list of custom actions that are configured for a visual.default HistogramVisual.Builder
chartConfiguration
(Consumer<HistogramConfiguration.Builder> chartConfiguration) The configuration for aHistogramVisual
.chartConfiguration
(HistogramConfiguration chartConfiguration) The configuration for aHistogramVisual
.default HistogramVisual.Builder
subtitle
(Consumer<VisualSubtitleLabelOptions.Builder> subtitle) The subtitle that is displayed on the visual.subtitle
(VisualSubtitleLabelOptions subtitle) The subtitle that is displayed on the visual.default HistogramVisual.Builder
The title that is displayed on the visual.title
(VisualTitleLabelOptions title) The title that is displayed on the visual.visualContentAltText
(String visualContentAltText) The alt text for the visual.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 Details
-
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
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
The title that is displayed on the visual.
This is a convenience method that creates an instance of theVisualTitleLabelOptions.Builder
avoiding the need to create one manually viaVisualTitleLabelOptions.builder()
.When the
Consumer
completes,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:
-
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
The subtitle that is displayed on the visual.
This is a convenience method that creates an instance of theVisualSubtitleLabelOptions.Builder
avoiding the need to create one manually viaVisualSubtitleLabelOptions.builder()
.When the
Consumer
completes,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:
-
chartConfiguration
The configuration for a
HistogramVisual
.- Parameters:
chartConfiguration
- The configuration for aHistogramVisual
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
chartConfiguration
default HistogramVisual.Builder chartConfiguration(Consumer<HistogramConfiguration.Builder> chartConfiguration) The configuration for a
This is a convenience method that creates an instance of theHistogramVisual
.HistogramConfiguration.Builder
avoiding the need to create one manually viaHistogramConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tochartConfiguration(HistogramConfiguration)
.- Parameters:
chartConfiguration
- a consumer that will call methods onHistogramConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
The list of custom actions that are configured for a visual.
This is a convenience method that creates an instance of theVisualCustomAction.Builder
avoiding the need to create one manually viaVisualCustomAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toactions(List<VisualCustomAction>)
.- 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:
-
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.
-