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