public static final class CfnThemeProps.Builder
extends java.lang.Object
CfnThemeProps
Constructor and Description |
---|
Builder() |
public CfnThemeProps.Builder awsAccountId(java.lang.String awsAccountId)
CfnThemeProps.getAwsAccountId()
awsAccountId
- The ID of the AWS account where you want to store the new theme. This parameter is required.this
public CfnThemeProps.Builder themeId(java.lang.String themeId)
CfnThemeProps.getThemeId()
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.this
public CfnThemeProps.Builder baseThemeId(java.lang.String baseThemeId)
CfnThemeProps.getBaseThemeId()
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 QuickSight. For a list of the starting themes, use ListThemes
or choose Themes from within an analysis.this
public CfnThemeProps.Builder configuration(IResolvable configuration)
CfnThemeProps.getConfiguration()
configuration
- The theme configuration, which contains the theme display properties.this
public CfnThemeProps.Builder configuration(CfnTheme.ThemeConfigurationProperty configuration)
CfnThemeProps.getConfiguration()
configuration
- The theme configuration, which contains the theme display properties.this
public CfnThemeProps.Builder name(java.lang.String name)
CfnThemeProps.getName()
name
- A display name for the theme.this
public CfnThemeProps.Builder permissions(IResolvable permissions)
CfnThemeProps.getPermissions()
permissions
- A valid grouping of resource permissions to apply to the new theme.this
public CfnThemeProps.Builder permissions(java.util.List<? extends java.lang.Object> permissions)
CfnThemeProps.getPermissions()
permissions
- A valid grouping of resource permissions to apply to the new theme.this
public CfnThemeProps.Builder tags(java.util.List<? extends CfnTag> tags)
CfnThemeProps.getTags()
tags
- A map of the key-value pairs for the resource tag or tags that you want to add to the resource.this
public CfnThemeProps.Builder versionDescription(java.lang.String versionDescription)
CfnThemeProps.getVersionDescription()
versionDescription
- A description of the first version of the theme that you're creating.
Every time UpdateTheme
is called, a new version is created. Each version of the theme has a description of the version in the VersionDescription
field.this
public CfnThemeProps build()
CfnThemeProps
java.lang.NullPointerException
- if any required attribute was not provided