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