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