Class CfnAnalysis.FontSizeProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnAnalysis.FontSizeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalysis.FontSizeProperty>
- Enclosing interface:
CfnAnalysis.FontSizeProperty
@Stability(Stable)
public static final class CfnAnalysis.FontSizeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalysis.FontSizeProperty>
A builder for
CfnAnalysis.FontSizeProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnAnalysis.FontSizeProperty.getAbsolute()build()Builds the configured instance.Sets the value ofCfnAnalysis.FontSizeProperty.getRelative()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
absolute
Sets the value ofCfnAnalysis.FontSizeProperty.getAbsolute()- Parameters:
absolute- The font size that you want to use in px.- Returns:
this
-
relative
Sets the value ofCfnAnalysis.FontSizeProperty.getRelative()- Parameters:
relative- The lexical name for the text size, proportional to its surrounding context.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAnalysis.FontSizeProperty>- Returns:
- a new instance of
CfnAnalysis.FontSizeProperty - Throws:
NullPointerException- if any required attribute was not provided
-