Class CfnAnalysis.ShortFormatTextProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnAnalysis.ShortFormatTextProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalysis.ShortFormatTextProperty>
- Enclosing interface:
CfnAnalysis.ShortFormatTextProperty
@Stability(Stable)
public static final class CfnAnalysis.ShortFormatTextProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalysis.ShortFormatTextProperty>
A builder for
CfnAnalysis.ShortFormatTextProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnAnalysis.ShortFormatTextProperty.getPlainText()
Sets the value ofCfnAnalysis.ShortFormatTextProperty.getRichText()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
plainText
Sets the value ofCfnAnalysis.ShortFormatTextProperty.getPlainText()
- Parameters:
plainText
- Plain text format.- Returns:
this
-
richText
Sets the value ofCfnAnalysis.ShortFormatTextProperty.getRichText()
- Parameters:
richText
- Rich text. Examples of rich text include bold, underline, and italics.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAnalysis.ShortFormatTextProperty>
- Returns:
- a new instance of
CfnAnalysis.ShortFormatTextProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-