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