Class CfnAnalysis.FontConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnAnalysis.FontConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalysis.FontConfigurationProperty>
- Enclosing interface:
- CfnAnalysis.FontConfigurationProperty
@Stability(Stable)
public static final class CfnAnalysis.FontConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalysis.FontConfigurationProperty>
A builder for
CfnAnalysis.FontConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnAnalysis.FontConfigurationProperty.getFontColor()fontDecoration(String fontDecoration) Sets the value ofCfnAnalysis.FontConfigurationProperty.getFontDecoration()fontSize(IResolvable fontSize) Sets the value ofCfnAnalysis.FontConfigurationProperty.getFontSize()fontSize(CfnAnalysis.FontSizeProperty fontSize) Sets the value ofCfnAnalysis.FontConfigurationProperty.getFontSize()Sets the value ofCfnAnalysis.FontConfigurationProperty.getFontStyle()fontWeight(IResolvable fontWeight) Sets the value ofCfnAnalysis.FontConfigurationProperty.getFontWeight()fontWeight(CfnAnalysis.FontWeightProperty fontWeight) Sets the value ofCfnAnalysis.FontConfigurationProperty.getFontWeight()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fontColor
Sets the value ofCfnAnalysis.FontConfigurationProperty.getFontColor()- Parameters:
fontColor- Determines the color of the text.- Returns:
this
-
fontDecoration
@Stability(Stable) public CfnAnalysis.FontConfigurationProperty.Builder fontDecoration(String fontDecoration) Sets the value ofCfnAnalysis.FontConfigurationProperty.getFontDecoration()- Parameters:
fontDecoration- Determines the appearance of decorative lines on the text.- Returns:
this
-
fontSize
@Stability(Stable) public CfnAnalysis.FontConfigurationProperty.Builder fontSize(IResolvable fontSize) Sets the value ofCfnAnalysis.FontConfigurationProperty.getFontSize()- Parameters:
fontSize- The option that determines the text display size.- Returns:
this
-
fontSize
@Stability(Stable) public CfnAnalysis.FontConfigurationProperty.Builder fontSize(CfnAnalysis.FontSizeProperty fontSize) Sets the value ofCfnAnalysis.FontConfigurationProperty.getFontSize()- Parameters:
fontSize- The option that determines the text display size.- Returns:
this
-
fontStyle
Sets the value ofCfnAnalysis.FontConfigurationProperty.getFontStyle()- Parameters:
fontStyle- Determines the text display face that is inherited by the given font family.- Returns:
this
-
fontWeight
@Stability(Stable) public CfnAnalysis.FontConfigurationProperty.Builder fontWeight(IResolvable fontWeight) Sets the value ofCfnAnalysis.FontConfigurationProperty.getFontWeight()- Parameters:
fontWeight- The option that determines the text display weight, or boldness.- Returns:
this
-
fontWeight
@Stability(Stable) public CfnAnalysis.FontConfigurationProperty.Builder fontWeight(CfnAnalysis.FontWeightProperty fontWeight) Sets the value ofCfnAnalysis.FontConfigurationProperty.getFontWeight()- Parameters:
fontWeight- The option that determines the text display weight, or boldness.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAnalysis.FontConfigurationProperty>- Returns:
- a new instance of
CfnAnalysis.FontConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-