Interface LegendOptions.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<LegendOptions.Builder,LegendOptions>,SdkBuilder<LegendOptions.Builder,LegendOptions>,SdkPojo
- Enclosing class:
- LegendOptions
@Mutable @NotThreadSafe public static interface LegendOptions.Builder extends SdkPojo, CopyableBuilder<LegendOptions.Builder,LegendOptions>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description LegendOptions.Builderheight(String height)The height of the legend.LegendOptions.Builderposition(String position)The positions for the legend.LegendOptions.Builderposition(LegendPosition position)The positions for the legend.default LegendOptions.Buildertitle(Consumer<LabelOptions.Builder> title)The custom title for the legend.LegendOptions.Buildertitle(LabelOptions title)The custom title for the legend.default LegendOptions.BuildervalueFontConfiguration(Consumer<FontConfiguration.Builder> valueFontConfiguration)Sets the value of the ValueFontConfiguration property for this object.LegendOptions.BuildervalueFontConfiguration(FontConfiguration valueFontConfiguration)Sets the value of the ValueFontConfiguration property for this object.LegendOptions.Buildervisibility(String visibility)Determines whether or not the legend is visible.LegendOptions.Buildervisibility(Visibility visibility)Determines whether or not the legend is visible.LegendOptions.Builderwidth(String width)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
visibility
LegendOptions.Builder visibility(String 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,Visibility
-
visibility
LegendOptions.Builder visibility(Visibility 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,Visibility
-
title
LegendOptions.Builder title(LabelOptions 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
default LegendOptions.Builder title(Consumer<LabelOptions.Builder> title)
The custom title for the legend.
This is a convenience method that creates an instance of theLabelOptions.Builderavoiding the need to create one manually viaLabelOptions.builder().When the
Consumercompletes,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:
title(LabelOptions)
-
position
LegendOptions.Builder position(String 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:
LegendPosition,LegendPosition
-
-
position
LegendOptions.Builder position(LegendPosition 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:
LegendPosition,LegendPosition
-
-
width
LegendOptions.Builder width(String 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
LegendOptions.Builder height(String 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.
-
valueFontConfiguration
LegendOptions.Builder valueFontConfiguration(FontConfiguration valueFontConfiguration)
Sets the value of the ValueFontConfiguration property for this object.- Parameters:
valueFontConfiguration- The new value for the ValueFontConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
valueFontConfiguration
default LegendOptions.Builder valueFontConfiguration(Consumer<FontConfiguration.Builder> valueFontConfiguration)
Sets the value of the ValueFontConfiguration property for this object. This is a convenience method that creates an instance of theFontConfiguration.Builderavoiding the need to create one manually viaFontConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovalueFontConfiguration(FontConfiguration).- Parameters:
valueFontConfiguration- a consumer that will call methods onFontConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
valueFontConfiguration(FontConfiguration)
-
-