Class CfnTemplate.TableBorderOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTemplate.TableBorderOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate.TableBorderOptionsProperty>
- Enclosing interface:
- CfnTemplate.TableBorderOptionsProperty
@Stability(Stable)
public static final class CfnTemplate.TableBorderOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate.TableBorderOptionsProperty>
A builder for
CfnTemplate.TableBorderOptionsProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnTemplate.TableBorderOptionsProperty.getColor()
Sets the value ofCfnTemplate.TableBorderOptionsProperty.getStyle()
Sets the value ofCfnTemplate.TableBorderOptionsProperty.getThickness()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
color
Sets the value ofCfnTemplate.TableBorderOptionsProperty.getColor()
- Parameters:
color
- The color of a table border.- Returns:
this
-
style
Sets the value ofCfnTemplate.TableBorderOptionsProperty.getStyle()
- Parameters:
style
- The style (none, solid) of a table border.- Returns:
this
-
thickness
@Stability(Stable) public CfnTemplate.TableBorderOptionsProperty.Builder thickness(Number thickness) Sets the value ofCfnTemplate.TableBorderOptionsProperty.getThickness()
- Parameters:
thickness
- The thickness of a table border.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTemplate.TableBorderOptionsProperty>
- Returns:
- a new instance of
CfnTemplate.TableBorderOptionsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-