Class CfnTemplate.ShortFormatTextProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTemplate.ShortFormatTextProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate.ShortFormatTextProperty>
- Enclosing interface:
- CfnTemplate.ShortFormatTextProperty
@Stability(Stable)
public static final class CfnTemplate.ShortFormatTextProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate.ShortFormatTextProperty>
A builder for
CfnTemplate.ShortFormatTextProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTemplate.ShortFormatTextProperty.getPlainText()Sets the value ofCfnTemplate.ShortFormatTextProperty.getRichText()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
plainText
Sets the value ofCfnTemplate.ShortFormatTextProperty.getPlainText()- Parameters:
plainText- Plain text format.- Returns:
this
-
richText
Sets the value ofCfnTemplate.ShortFormatTextProperty.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.ShortFormatTextProperty>- Returns:
- a new instance of
CfnTemplate.ShortFormatTextProperty - Throws:
NullPointerException- if any required attribute was not provided
-