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