Class CfnAnalysis.FreeFormLayoutElementBackgroundStyleProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnAnalysis.FreeFormLayoutElementBackgroundStyleProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalysis.FreeFormLayoutElementBackgroundStyleProperty>
- Enclosing interface:
- CfnAnalysis.FreeFormLayoutElementBackgroundStyleProperty
@Stability(Stable)
public static final class CfnAnalysis.FreeFormLayoutElementBackgroundStyleProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalysis.FreeFormLayoutElementBackgroundStyleProperty>
A builder for
CfnAnalysis.FreeFormLayoutElementBackgroundStyleProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnAnalysis.FreeFormLayoutElementBackgroundStyleProperty.getColor()visibility(String visibility) Sets the value ofCfnAnalysis.FreeFormLayoutElementBackgroundStyleProperty.getVisibility()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
color
@Stability(Stable) public CfnAnalysis.FreeFormLayoutElementBackgroundStyleProperty.Builder color(String color) Sets the value ofCfnAnalysis.FreeFormLayoutElementBackgroundStyleProperty.getColor()- Parameters:
color- The background color of a free-form layout element.- Returns:
this
-
visibility
@Stability(Stable) public CfnAnalysis.FreeFormLayoutElementBackgroundStyleProperty.Builder visibility(String visibility) Sets the value ofCfnAnalysis.FreeFormLayoutElementBackgroundStyleProperty.getVisibility()- Parameters:
visibility- The background visibility of a free-form layout element.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAnalysis.FreeFormLayoutElementBackgroundStyleProperty>- Returns:
- a new instance of
CfnAnalysis.FreeFormLayoutElementBackgroundStyleProperty - Throws:
NullPointerException- if any required attribute was not provided
-