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