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