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 Details

    • Builder

      public Builder()
  • Method Details

    • awsAccountId

      @Stability(Stable) public CfnThemeProps.Builder awsAccountId(String awsAccountId)
      Parameters:
      awsAccountId - The ID of the AWS account where you want to store the new theme. This parameter is required.
      Returns:
      this
    • baseThemeId

      @Stability(Stable) public CfnThemeProps.Builder baseThemeId(String baseThemeId)
      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, use ListThemes or choose Themes from within an analysis.
      Returns:
      this
    • configuration

      @Stability(Stable) public CfnThemeProps.Builder configuration(IResolvable configuration)
      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)
      Parameters:
      configuration - The theme configuration, which contains the theme display properties. This parameter is required.
      Returns:
      this
    • name

      @Stability(Stable) public CfnThemeProps.Builder name(String name)
      Sets the value of CfnThemeProps.getName()
      Parameters:
      name - A display name for the theme. This parameter is required.
      Returns:
      this
    • themeId

      @Stability(Stable) public CfnThemeProps.Builder themeId(String themeId)
      Sets the value of CfnThemeProps.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

      @Stability(Stable) public CfnThemeProps.Builder permissions(IResolvable permissions)
      Parameters:
      permissions - A valid grouping of resource permissions to apply to the new theme.
      Returns:
      this
    • permissions

      @Stability(Stable) public CfnThemeProps.Builder permissions(List<? extends Object> permissions)
      Parameters:
      permissions - A valid grouping of resource permissions to apply to the new theme.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnThemeProps.Builder tags(List<? extends CfnTag> tags)
      Sets the value of CfnThemeProps.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

      @Stability(Stable) public CfnThemeProps.Builder versionDescription(String versionDescription)
      Parameters:
      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.
      Returns:
      this
    • build

      @Stability(Stable) public CfnThemeProps build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnThemeProps>
      Returns:
      a new instance of CfnThemeProps
      Throws:
      NullPointerException - if any required attribute was not provided