Class CfnThemeProps.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnThemeProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnThemeProps>
- Enclosing interface:
CfnThemeProps
@Stability(Stable)
public static final class CfnThemeProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnThemeProps>
A builder for
CfnThemeProps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionawsAccountId
(String awsAccountId) Sets the value ofCfnThemeProps.getAwsAccountId()
baseThemeId
(String baseThemeId) Sets the value ofCfnThemeProps.getBaseThemeId()
build()
Builds the configured instance.configuration
(IResolvable configuration) Sets the value ofCfnThemeProps.getConfiguration()
configuration
(CfnTheme.ThemeConfigurationProperty configuration) Sets the value ofCfnThemeProps.getConfiguration()
Sets the value ofCfnThemeProps.getName()
permissions
(List<? extends Object> permissions) Sets the value ofCfnThemeProps.getPermissions()
permissions
(IResolvable permissions) Sets the value ofCfnThemeProps.getPermissions()
Sets the value ofCfnThemeProps.getTags()
Sets the value ofCfnThemeProps.getThemeId()
versionDescription
(String versionDescription) Sets the value ofCfnThemeProps.getVersionDescription()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
awsAccountId
Sets the value ofCfnThemeProps.getAwsAccountId()
- Parameters:
awsAccountId
- The ID of the AWS account where you want to store the new theme. This parameter is required.- Returns:
this
-
baseThemeId
Sets the value ofCfnThemeProps.getBaseThemeId()
- Parameters:
baseThemeId
- The ID of the theme that a custom theme will inherit from. This parameter is required. All themes inherit from one of the starting themes defined by Amazon QuickSight. For a list of the starting themes, useListThemes
or choose Themes from within an analysis.- Returns:
this
-
configuration
Sets the value ofCfnThemeProps.getConfiguration()
- Parameters:
configuration
- The theme configuration, which contains the theme display properties. This parameter is required.- Returns:
this
-
configuration
@Stability(Stable) public CfnThemeProps.Builder configuration(CfnTheme.ThemeConfigurationProperty configuration) Sets the value ofCfnThemeProps.getConfiguration()
- Parameters:
configuration
- The theme configuration, which contains the theme display properties. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnThemeProps.getName()
- Parameters:
name
- A display name for the theme. This parameter is required.- Returns:
this
-
themeId
Sets the value ofCfnThemeProps.getThemeId()
- Parameters:
themeId
- An ID for the theme that you want to create. This parameter is required. The theme ID is unique per AWS Region in each AWS account.- Returns:
this
-
permissions
Sets the value ofCfnThemeProps.getPermissions()
- Parameters:
permissions
- A valid grouping of resource permissions to apply to the new theme.- Returns:
this
-
permissions
Sets the value ofCfnThemeProps.getPermissions()
- Parameters:
permissions
- A valid grouping of resource permissions to apply to the new theme.- Returns:
this
-
tags
Sets the value ofCfnThemeProps.getTags()
- Parameters:
tags
- A map of the key-value pairs for the resource tag or tags that you want to add to the resource.- Returns:
this
-
versionDescription
Sets the value ofCfnThemeProps.getVersionDescription()
- Parameters:
versionDescription
- A description of the first version of the theme that you're creating. Every timeUpdateTheme
is called, a new version is created. Each version of the theme has a description of the version in theVersionDescription
field.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnThemeProps>
- Returns:
- a new instance of
CfnThemeProps
- Throws:
NullPointerException
- if any required attribute was not provided
-