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