Class CfnTheme.FontConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTheme.FontConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTheme.FontConfigurationProperty>
- Enclosing interface:
CfnTheme.FontConfigurationProperty
@Stability(Stable)
public static final class CfnTheme.FontConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTheme.FontConfigurationProperty>
A builder for
CfnTheme.FontConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTheme.FontConfigurationProperty.getFontColor()fontDecoration(String fontDecoration) Sets the value ofCfnTheme.FontConfigurationProperty.getFontDecoration()fontFamily(String fontFamily) Sets the value ofCfnTheme.FontConfigurationProperty.getFontFamily()fontSize(IResolvable fontSize) Sets the value ofCfnTheme.FontConfigurationProperty.getFontSize()fontSize(CfnTheme.FontSizeProperty fontSize) Sets the value ofCfnTheme.FontConfigurationProperty.getFontSize()Sets the value ofCfnTheme.FontConfigurationProperty.getFontStyle()fontWeight(IResolvable fontWeight) Sets the value ofCfnTheme.FontConfigurationProperty.getFontWeight()fontWeight(CfnTheme.FontWeightProperty fontWeight) Sets the value ofCfnTheme.FontConfigurationProperty.getFontWeight()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fontColor
Sets the value ofCfnTheme.FontConfigurationProperty.getFontColor()- Parameters:
fontColor- the value to be set.- Returns:
this
-
fontDecoration
@Stability(Stable) public CfnTheme.FontConfigurationProperty.Builder fontDecoration(String fontDecoration) Sets the value ofCfnTheme.FontConfigurationProperty.getFontDecoration()- Parameters:
fontDecoration- the value to be set.- Returns:
this
-
fontFamily
Sets the value ofCfnTheme.FontConfigurationProperty.getFontFamily()- Parameters:
fontFamily-The font family that you want to use.
.- Returns:
this
-
fontSize
Sets the value ofCfnTheme.FontConfigurationProperty.getFontSize()- Parameters:
fontSize- the value to be set.- Returns:
this
-
fontSize
@Stability(Stable) public CfnTheme.FontConfigurationProperty.Builder fontSize(CfnTheme.FontSizeProperty fontSize) Sets the value ofCfnTheme.FontConfigurationProperty.getFontSize()- Parameters:
fontSize- the value to be set.- Returns:
this
-
fontStyle
Sets the value ofCfnTheme.FontConfigurationProperty.getFontStyle()- Parameters:
fontStyle- the value to be set.- Returns:
this
-
fontWeight
@Stability(Stable) public CfnTheme.FontConfigurationProperty.Builder fontWeight(IResolvable fontWeight) Sets the value ofCfnTheme.FontConfigurationProperty.getFontWeight()- Parameters:
fontWeight- the value to be set.- Returns:
this
-
fontWeight
@Stability(Stable) public CfnTheme.FontConfigurationProperty.Builder fontWeight(CfnTheme.FontWeightProperty fontWeight) Sets the value ofCfnTheme.FontConfigurationProperty.getFontWeight()- Parameters:
fontWeight- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTheme.FontConfigurationProperty>- Returns:
- a new instance of
CfnTheme.FontConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-