Interface LabelOptions.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<LabelOptions.Builder,LabelOptions>,SdkBuilder<LabelOptions.Builder,LabelOptions>,SdkPojo
- Enclosing class:
- LabelOptions
@Mutable @NotThreadSafe public static interface LabelOptions.Builder extends SdkPojo, CopyableBuilder<LabelOptions.Builder,LabelOptions>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description LabelOptions.BuildercustomLabel(String customLabel)The text for the label.default LabelOptions.BuilderfontConfiguration(Consumer<FontConfiguration.Builder> fontConfiguration)The font configuration of the label.LabelOptions.BuilderfontConfiguration(FontConfiguration fontConfiguration)The font configuration of the label.LabelOptions.Buildervisibility(String visibility)Determines whether or not the label is visible.LabelOptions.Buildervisibility(Visibility visibility)Determines whether or not the label is visible.-
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
LabelOptions.Builder visibility(String visibility)
Determines whether or not the label is visible.
- Parameters:
visibility- Determines whether or not the label is visible.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
Visibility,Visibility
-
visibility
LabelOptions.Builder visibility(Visibility visibility)
Determines whether or not the label is visible.
- Parameters:
visibility- Determines whether or not the label is visible.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
Visibility,Visibility
-
fontConfiguration
LabelOptions.Builder fontConfiguration(FontConfiguration fontConfiguration)
The font configuration of the label.
- Parameters:
fontConfiguration- The font configuration of the label.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fontConfiguration
default LabelOptions.Builder fontConfiguration(Consumer<FontConfiguration.Builder> fontConfiguration)
The font configuration of the label.
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 tofontConfiguration(FontConfiguration).- Parameters:
fontConfiguration- 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:
fontConfiguration(FontConfiguration)
-
customLabel
LabelOptions.Builder customLabel(String customLabel)
The text for the label.
- Parameters:
customLabel- The text for the label.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-