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