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