Class CfnAnalysis.WordCloudOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnAnalysis.WordCloudOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalysis.WordCloudOptionsProperty>
- Enclosing interface:
- CfnAnalysis.WordCloudOptionsProperty
@Stability(Stable)
public static final class CfnAnalysis.WordCloudOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalysis.WordCloudOptionsProperty>
A builder for
CfnAnalysis.WordCloudOptionsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.cloudLayout
(String cloudLayout) Sets the value ofCfnAnalysis.WordCloudOptionsProperty.getCloudLayout()
maximumStringLength
(Number maximumStringLength) Sets the value ofCfnAnalysis.WordCloudOptionsProperty.getMaximumStringLength()
wordCasing
(String wordCasing) Sets the value ofCfnAnalysis.WordCloudOptionsProperty.getWordCasing()
wordOrientation
(String wordOrientation) Sets the value ofCfnAnalysis.WordCloudOptionsProperty.getWordOrientation()
wordPadding
(String wordPadding) Sets the value ofCfnAnalysis.WordCloudOptionsProperty.getWordPadding()
wordScaling
(String wordScaling) Sets the value ofCfnAnalysis.WordCloudOptionsProperty.getWordScaling()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cloudLayout
@Stability(Stable) public CfnAnalysis.WordCloudOptionsProperty.Builder cloudLayout(String cloudLayout) Sets the value ofCfnAnalysis.WordCloudOptionsProperty.getCloudLayout()
- Parameters:
cloudLayout
- The cloud layout options (fluid, normal) of a word cloud.- Returns:
this
-
maximumStringLength
@Stability(Stable) public CfnAnalysis.WordCloudOptionsProperty.Builder maximumStringLength(Number maximumStringLength) Sets the value ofCfnAnalysis.WordCloudOptionsProperty.getMaximumStringLength()
- Parameters:
maximumStringLength
- The length limit of each word from 1-100.- Returns:
this
-
wordCasing
@Stability(Stable) public CfnAnalysis.WordCloudOptionsProperty.Builder wordCasing(String wordCasing) Sets the value ofCfnAnalysis.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 CfnAnalysis.WordCloudOptionsProperty.Builder wordOrientation(String wordOrientation) Sets the value ofCfnAnalysis.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 CfnAnalysis.WordCloudOptionsProperty.Builder wordPadding(String wordPadding) Sets the value ofCfnAnalysis.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 CfnAnalysis.WordCloudOptionsProperty.Builder wordScaling(String wordScaling) Sets the value ofCfnAnalysis.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<CfnAnalysis.WordCloudOptionsProperty>
- Returns:
- a new instance of
CfnAnalysis.WordCloudOptionsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-