Class CfnDashboard.VisualTitleLabelOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.VisualTitleLabelOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.VisualTitleLabelOptionsProperty>
- Enclosing interface:
CfnDashboard.VisualTitleLabelOptionsProperty
@Stability(Stable)
public static final class CfnDashboard.VisualTitleLabelOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.VisualTitleLabelOptionsProperty>
A builder for
CfnDashboard.VisualTitleLabelOptionsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.formatText
(IResolvable formatText) Sets the value ofCfnDashboard.VisualTitleLabelOptionsProperty.getFormatText()
formatText
(CfnDashboard.ShortFormatTextProperty formatText) Sets the value ofCfnDashboard.VisualTitleLabelOptionsProperty.getFormatText()
visibility
(String visibility) Sets the value ofCfnDashboard.VisualTitleLabelOptionsProperty.getVisibility()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
formatText
@Stability(Stable) public CfnDashboard.VisualTitleLabelOptionsProperty.Builder formatText(IResolvable formatText) Sets the value ofCfnDashboard.VisualTitleLabelOptionsProperty.getFormatText()
- Parameters:
formatText
- The short text format of the title label, such as plain text or rich text.- Returns:
this
-
formatText
@Stability(Stable) public CfnDashboard.VisualTitleLabelOptionsProperty.Builder formatText(CfnDashboard.ShortFormatTextProperty formatText) Sets the value ofCfnDashboard.VisualTitleLabelOptionsProperty.getFormatText()
- Parameters:
formatText
- The short text format of the title label, such as plain text or rich text.- Returns:
this
-
visibility
@Stability(Stable) public CfnDashboard.VisualTitleLabelOptionsProperty.Builder visibility(String visibility) Sets the value ofCfnDashboard.VisualTitleLabelOptionsProperty.getVisibility()
- Parameters:
visibility
- The visibility of the title label.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDashboard.VisualTitleLabelOptionsProperty>
- Returns:
- a new instance of
CfnDashboard.VisualTitleLabelOptionsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-