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