Class CfnTemplatePropsMixin.GridLayoutElementBorderStyleProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.quicksight.CfnTemplatePropsMixin.GridLayoutElementBorderStyleProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplatePropsMixin.GridLayoutElementBorderStyleProperty>
- Enclosing interface:
CfnTemplatePropsMixin.GridLayoutElementBorderStyleProperty
@Stability(Stable)
public static final class CfnTemplatePropsMixin.GridLayoutElementBorderStyleProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplatePropsMixin.GridLayoutElementBorderStyleProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTemplatePropsMixin.GridLayoutElementBorderStyleProperty.getColor()visibility(String visibility) Sets the value ofCfnTemplatePropsMixin.GridLayoutElementBorderStyleProperty.getWidth()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
color
@Stability(Stable) public CfnTemplatePropsMixin.GridLayoutElementBorderStyleProperty.Builder color(String color) Sets the value ofCfnTemplatePropsMixin.GridLayoutElementBorderStyleProperty.getColor()- Parameters:
color- the value to be set.- Returns:
this
-
visibility
@Stability(Stable) public CfnTemplatePropsMixin.GridLayoutElementBorderStyleProperty.Builder visibility(String visibility) - Parameters:
visibility- the value to be set.- Returns:
this
-
width
@Stability(Stable) public CfnTemplatePropsMixin.GridLayoutElementBorderStyleProperty.Builder width(String width) Sets the value ofCfnTemplatePropsMixin.GridLayoutElementBorderStyleProperty.getWidth()- Parameters:
width- String to encapsulate the most generic way Width can be formatted with whatever units (px, em etc).- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTemplatePropsMixin.GridLayoutElementBorderStyleProperty>- Returns:
- a new instance of
CfnTemplatePropsMixin.GridLayoutElementBorderStyleProperty - Throws:
NullPointerException- if any required attribute was not provided
-