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