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