Interface VisualTitleLabelOptions.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<VisualTitleLabelOptions.Builder,
,VisualTitleLabelOptions> SdkBuilder<VisualTitleLabelOptions.Builder,
,VisualTitleLabelOptions> SdkPojo
- Enclosing class:
VisualTitleLabelOptions
public static interface VisualTitleLabelOptions.Builder
extends SdkPojo, CopyableBuilder<VisualTitleLabelOptions.Builder,VisualTitleLabelOptions>
-
Method Summary
Modifier and TypeMethodDescriptiondefault VisualTitleLabelOptions.Builder
formatText
(Consumer<ShortFormatText.Builder> formatText) The short text format of the title label, such as plain text or rich text.formatText
(ShortFormatText formatText) The short text format of the title label, such as plain text or rich text.visibility
(String visibility) The visibility of the title label.visibility
(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, sdkFields
-
Method Details
-
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
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:
-
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
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.Builder
avoiding the need to create one manually viaShortFormatText.builder()
.When the
Consumer
completes,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:
-