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