Class CfnAnalysis.LabelOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnAnalysis.LabelOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalysis.LabelOptionsProperty>
- Enclosing interface:
CfnAnalysis.LabelOptionsProperty
@Stability(Stable)
public static final class CfnAnalysis.LabelOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalysis.LabelOptionsProperty>
A builder for
CfnAnalysis.LabelOptionsProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.customLabel
(String customLabel) Sets the value ofCfnAnalysis.LabelOptionsProperty.getCustomLabel()
fontConfiguration
(IResolvable fontConfiguration) Sets the value ofCfnAnalysis.LabelOptionsProperty.getFontConfiguration()
fontConfiguration
(CfnAnalysis.FontConfigurationProperty fontConfiguration) Sets the value ofCfnAnalysis.LabelOptionsProperty.getFontConfiguration()
visibility
(String visibility) Sets the value ofCfnAnalysis.LabelOptionsProperty.getVisibility()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
customLabel
Sets the value ofCfnAnalysis.LabelOptionsProperty.getCustomLabel()
- Parameters:
customLabel
- The text for the label.- Returns:
this
-
fontConfiguration
@Stability(Stable) public CfnAnalysis.LabelOptionsProperty.Builder fontConfiguration(IResolvable fontConfiguration) Sets the value ofCfnAnalysis.LabelOptionsProperty.getFontConfiguration()
- Parameters:
fontConfiguration
- The font configuration of the label.- Returns:
this
-
fontConfiguration
@Stability(Stable) public CfnAnalysis.LabelOptionsProperty.Builder fontConfiguration(CfnAnalysis.FontConfigurationProperty fontConfiguration) Sets the value ofCfnAnalysis.LabelOptionsProperty.getFontConfiguration()
- Parameters:
fontConfiguration
- The font configuration of the label.- Returns:
this
-
visibility
Sets the value ofCfnAnalysis.LabelOptionsProperty.getVisibility()
- Parameters:
visibility
- Determines whether or not the label is visible.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAnalysis.LabelOptionsProperty>
- Returns:
- a new instance of
CfnAnalysis.LabelOptionsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-