Interface VisualTitleLabelOptions.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<VisualTitleLabelOptions.Builder,VisualTitleLabelOptions>,SdkBuilder<VisualTitleLabelOptions.Builder,VisualTitleLabelOptions>,SdkPojo
- Enclosing class:
- VisualTitleLabelOptions
@Mutable @NotThreadSafe public static interface VisualTitleLabelOptions.Builder extends SdkPojo, CopyableBuilder<VisualTitleLabelOptions.Builder,VisualTitleLabelOptions>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default VisualTitleLabelOptions.BuilderformatText(Consumer<ShortFormatText.Builder> formatText)The short text format of the title label, such as plain text or rich text.VisualTitleLabelOptions.BuilderformatText(ShortFormatText formatText)The short text format of the title label, such as plain text or rich text.VisualTitleLabelOptions.Buildervisibility(String visibility)The visibility of the title label.VisualTitleLabelOptions.Buildervisibility(Visibility visibility)The visibility of the title label.-
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
VisualTitleLabelOptions.Builder visibility(String visibility)
The visibility of the title label.
- Parameters:
visibility- The visibility of the title label.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
Visibility,Visibility
-
visibility
VisualTitleLabelOptions.Builder visibility(Visibility visibility)
The visibility of the title label.
- Parameters:
visibility- The visibility of the title label.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
Visibility,Visibility
-
formatText
VisualTitleLabelOptions.Builder formatText(ShortFormatText formatText)
The short text format of the title label, such as plain text or rich text.
- Parameters:
formatText- The short text format of the title label, such as plain text or rich text.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
formatText
default VisualTitleLabelOptions.Builder formatText(Consumer<ShortFormatText.Builder> formatText)
The short text format of the title label, such as plain text or rich text.
This is a convenience method that creates an instance of theShortFormatText.Builderavoiding the need to create one manually viaShortFormatText.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toformatText(ShortFormatText).- Parameters:
formatText- a consumer that will call methods onShortFormatText.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
formatText(ShortFormatText)
-
-