Interface LegendOptions.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LegendOptions.Builder,
,LegendOptions> SdkBuilder<LegendOptions.Builder,
,LegendOptions> SdkPojo
- Enclosing class:
LegendOptions
-
Method Summary
Modifier and TypeMethodDescriptionThe height of the legend.The positions for the legend.position
(LegendPosition position) The positions for the legend.default LegendOptions.Builder
title
(Consumer<LabelOptions.Builder> title) The custom title for the legend.title
(LabelOptions title) The custom title for the legend.visibility
(String visibility) Determines whether or not the legend is visible.visibility
(Visibility visibility) Determines whether or not the legend is visible.The width of the legend.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
-
visibility
Determines whether or not the legend is visible.
- Parameters:
visibility
- Determines whether or not the legend is visible.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
visibility
Determines whether or not the legend is visible.
- Parameters:
visibility
- Determines whether or not the legend is visible.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
title
The custom title for the legend.
- Parameters:
title
- The custom title for the legend.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
title
The custom title for the legend.
This is a convenience method that creates an instance of theLabelOptions.Builder
avoiding the need to create one manually viaLabelOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totitle(LabelOptions)
.- Parameters:
title
- a consumer that will call methods onLabelOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
position
The positions for the legend. Choose one of the following options:
-
AUTO
-
RIGHT
-
BOTTOM
-
LEFT
- Parameters:
position
- The positions for the legend. Choose one of the following options:-
AUTO
-
RIGHT
-
BOTTOM
-
LEFT
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
position
The positions for the legend. Choose one of the following options:
-
AUTO
-
RIGHT
-
BOTTOM
-
LEFT
- Parameters:
position
- The positions for the legend. Choose one of the following options:-
AUTO
-
RIGHT
-
BOTTOM
-
LEFT
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
width
The width of the legend. If this value is omitted, a default width is used when rendering.
- Parameters:
width
- The width of the legend. If this value is omitted, a default width is used when rendering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
height
The height of the legend. If this value is omitted, a default height is used when rendering.
- Parameters:
height
- The height of the legend. If this value is omitted, a default height is used when rendering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-