Class CfnTheme.TileStyleProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTheme.TileStyleProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTheme.TileStyleProperty>
- Enclosing interface:
CfnTheme.TileStyleProperty
@Stability(Stable)
public static final class CfnTheme.TileStyleProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTheme.TileStyleProperty>
A builder for
CfnTheme.TileStyleProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbackgroundColor(String backgroundColor) Sets the value ofCfnTheme.TileStyleProperty.getBackgroundColor()border(IResolvable border) Sets the value ofCfnTheme.TileStyleProperty.getBorder()border(CfnTheme.BorderStyleProperty border) Sets the value ofCfnTheme.TileStyleProperty.getBorder()borderRadius(String borderRadius) Sets the value ofCfnTheme.TileStyleProperty.getBorderRadius()build()Builds the configured instance.Sets the value ofCfnTheme.TileStyleProperty.getPadding()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
backgroundColor
@Stability(Stable) public CfnTheme.TileStyleProperty.Builder backgroundColor(String backgroundColor) Sets the value ofCfnTheme.TileStyleProperty.getBackgroundColor()- Parameters:
backgroundColor- String to encapsulate the most generic way Color can be formatted (words, hexStrings etc).- Returns:
this
-
border
Sets the value ofCfnTheme.TileStyleProperty.getBorder()- Parameters:
border- The border around a tile.- Returns:
this
-
border
@Stability(Stable) public CfnTheme.TileStyleProperty.Builder border(CfnTheme.BorderStyleProperty border) Sets the value ofCfnTheme.TileStyleProperty.getBorder()- Parameters:
border- The border around a tile.- Returns:
this
-
borderRadius
Sets the value ofCfnTheme.TileStyleProperty.getBorderRadius()- Parameters:
borderRadius- the value to be set.- Returns:
this
-
padding
Sets the value ofCfnTheme.TileStyleProperty.getPadding()- Parameters:
padding- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTheme.TileStyleProperty>- Returns:
- a new instance of
CfnTheme.TileStyleProperty - Throws:
NullPointerException- if any required attribute was not provided
-