Class CfnDashboard.WordCloudOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.WordCloudOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.WordCloudOptionsProperty>
- Enclosing interface:
CfnDashboard.WordCloudOptionsProperty
@Stability(Stable)
public static final class CfnDashboard.WordCloudOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.WordCloudOptionsProperty>
A builder for
CfnDashboard.WordCloudOptionsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.cloudLayout
(String cloudLayout) Sets the value ofCfnDashboard.WordCloudOptionsProperty.getCloudLayout()
maximumStringLength
(Number maximumStringLength) Sets the value ofCfnDashboard.WordCloudOptionsProperty.getMaximumStringLength()
wordCasing
(String wordCasing) Sets the value ofCfnDashboard.WordCloudOptionsProperty.getWordCasing()
wordOrientation
(String wordOrientation) Sets the value ofCfnDashboard.WordCloudOptionsProperty.getWordOrientation()
wordPadding
(String wordPadding) Sets the value ofCfnDashboard.WordCloudOptionsProperty.getWordPadding()
wordScaling
(String wordScaling) Sets the value ofCfnDashboard.WordCloudOptionsProperty.getWordScaling()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cloudLayout
@Stability(Stable) public CfnDashboard.WordCloudOptionsProperty.Builder cloudLayout(String cloudLayout) Sets the value ofCfnDashboard.WordCloudOptionsProperty.getCloudLayout()
- Parameters:
cloudLayout
- The cloud layout options (fluid, normal) of a word cloud.- Returns:
this
-
maximumStringLength
@Stability(Stable) public CfnDashboard.WordCloudOptionsProperty.Builder maximumStringLength(Number maximumStringLength) Sets the value ofCfnDashboard.WordCloudOptionsProperty.getMaximumStringLength()
- Parameters:
maximumStringLength
- The length limit of each word from 1-100.- Returns:
this
-
wordCasing
@Stability(Stable) public CfnDashboard.WordCloudOptionsProperty.Builder wordCasing(String wordCasing) Sets the value ofCfnDashboard.WordCloudOptionsProperty.getWordCasing()
- Parameters:
wordCasing
- The word casing options (lower_case, existing_case) for the words in a word cloud.- Returns:
this
-
wordOrientation
@Stability(Stable) public CfnDashboard.WordCloudOptionsProperty.Builder wordOrientation(String wordOrientation) Sets the value ofCfnDashboard.WordCloudOptionsProperty.getWordOrientation()
- Parameters:
wordOrientation
- The word orientation options (horizontal, horizontal_and_vertical) for the words in a word cloud.- Returns:
this
-
wordPadding
@Stability(Stable) public CfnDashboard.WordCloudOptionsProperty.Builder wordPadding(String wordPadding) Sets the value ofCfnDashboard.WordCloudOptionsProperty.getWordPadding()
- Parameters:
wordPadding
- The word padding options (none, small, medium, large) for the words in a word cloud.- Returns:
this
-
wordScaling
@Stability(Stable) public CfnDashboard.WordCloudOptionsProperty.Builder wordScaling(String wordScaling) Sets the value ofCfnDashboard.WordCloudOptionsProperty.getWordScaling()
- Parameters:
wordScaling
- The word scaling options (emphasize, normal) for the words in a word cloud.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDashboard.WordCloudOptionsProperty>
- Returns:
- a new instance of
CfnDashboard.WordCloudOptionsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-