Class CfnThemePropsMixin.ThemeVersionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.quicksight.CfnThemePropsMixin.ThemeVersionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnThemePropsMixin.ThemeVersionProperty>
- Enclosing interface:
CfnThemePropsMixin.ThemeVersionProperty
@Stability(Stable)
public static final class CfnThemePropsMixin.ThemeVersionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnThemePropsMixin.ThemeVersionProperty>
A builder for
CfnThemePropsMixin.ThemeVersionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnThemePropsMixin.ThemeVersionProperty.getArn()baseThemeId(String baseThemeId) Sets the value ofCfnThemePropsMixin.ThemeVersionProperty.getBaseThemeId()build()Builds the configured instance.configuration(CfnThemePropsMixin.ThemeConfigurationProperty configuration) Sets the value ofCfnThemePropsMixin.ThemeVersionProperty.getConfiguration()configuration(IResolvable configuration) Sets the value ofCfnThemePropsMixin.ThemeVersionProperty.getConfiguration()createdTime(String createdTime) Sets the value ofCfnThemePropsMixin.ThemeVersionProperty.getCreatedTime()description(String description) Sets the value ofCfnThemePropsMixin.ThemeVersionProperty.getDescription()Sets the value ofCfnThemePropsMixin.ThemeVersionProperty.getErrors()errors(IResolvable errors) Sets the value ofCfnThemePropsMixin.ThemeVersionProperty.getErrors()Sets the value ofCfnThemePropsMixin.ThemeVersionProperty.getStatus()versionNumber(Number versionNumber) Sets the value ofCfnThemePropsMixin.ThemeVersionProperty.getVersionNumber()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
arn
Sets the value ofCfnThemePropsMixin.ThemeVersionProperty.getArn()- Parameters:
arn- The Amazon Resource Name (ARN) of the resource.- Returns:
this
-
baseThemeId
@Stability(Stable) public CfnThemePropsMixin.ThemeVersionProperty.Builder baseThemeId(String baseThemeId) Sets the value ofCfnThemePropsMixin.ThemeVersionProperty.getBaseThemeId()- Parameters:
baseThemeId- The Quick Sight-defined ID of the theme that a custom theme inherits from. All themes initially inherit from a default Quick Sight theme.- Returns:
this
-
configuration
@Stability(Stable) public CfnThemePropsMixin.ThemeVersionProperty.Builder configuration(IResolvable configuration) Sets the value ofCfnThemePropsMixin.ThemeVersionProperty.getConfiguration()- Parameters:
configuration- The theme configuration, which contains all the theme display properties.- Returns:
this
-
configuration
@Stability(Stable) public CfnThemePropsMixin.ThemeVersionProperty.Builder configuration(CfnThemePropsMixin.ThemeConfigurationProperty configuration) Sets the value ofCfnThemePropsMixin.ThemeVersionProperty.getConfiguration()- Parameters:
configuration- The theme configuration, which contains all the theme display properties.- Returns:
this
-
createdTime
@Stability(Stable) public CfnThemePropsMixin.ThemeVersionProperty.Builder createdTime(String createdTime) Sets the value ofCfnThemePropsMixin.ThemeVersionProperty.getCreatedTime()- Parameters:
createdTime- The date and time that this theme version was created.- Returns:
this
-
description
@Stability(Stable) public CfnThemePropsMixin.ThemeVersionProperty.Builder description(String description) Sets the value ofCfnThemePropsMixin.ThemeVersionProperty.getDescription()- Parameters:
description- The description of the theme.- Returns:
this
-
errors
@Stability(Stable) public CfnThemePropsMixin.ThemeVersionProperty.Builder errors(IResolvable errors) Sets the value ofCfnThemePropsMixin.ThemeVersionProperty.getErrors()- Parameters:
errors- Errors associated with the theme.- Returns:
this
-
errors
@Stability(Stable) public CfnThemePropsMixin.ThemeVersionProperty.Builder errors(List<? extends Object> errors) Sets the value ofCfnThemePropsMixin.ThemeVersionProperty.getErrors()- Parameters:
errors- Errors associated with the theme.- Returns:
this
-
status
Sets the value ofCfnThemePropsMixin.ThemeVersionProperty.getStatus()- Parameters:
status- The status of the theme version.- Returns:
this
-
versionNumber
@Stability(Stable) public CfnThemePropsMixin.ThemeVersionProperty.Builder versionNumber(Number versionNumber) Sets the value ofCfnThemePropsMixin.ThemeVersionProperty.getVersionNumber()- Parameters:
versionNumber- The version number of the theme.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnThemePropsMixin.ThemeVersionProperty>- Returns:
- a new instance of
CfnThemePropsMixin.ThemeVersionProperty - Throws:
NullPointerException- if any required attribute was not provided
-