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