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