All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.quicksight.inputs.ThemeState Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

The newest version!
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.aws.quicksight.inputs;

import com.pulumi.aws.quicksight.inputs.ThemeConfigurationArgs;
import com.pulumi.aws.quicksight.inputs.ThemePermissionArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class ThemeState extends com.pulumi.resources.ResourceArgs {

    public static final ThemeState Empty = new ThemeState();

    /**
     * ARN of the theme.
     * 
     */
    @Import(name="arn")
    private @Nullable Output arn;

    /**
     * @return ARN of the theme.
     * 
     */
    public Optional> arn() {
        return Optional.ofNullable(this.arn);
    }

    /**
     * AWS account ID.
     * 
     */
    @Import(name="awsAccountId")
    private @Nullable Output awsAccountId;

    /**
     * @return AWS account ID.
     * 
     */
    public Optional> awsAccountId() {
        return Optional.ofNullable(this.awsAccountId);
    }

    /**
     * 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.
     * 
     */
    @Import(name="baseThemeId")
    private @Nullable Output baseThemeId;

    /**
     * @return 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.
     * 
     */
    public Optional> baseThemeId() {
        return Optional.ofNullable(this.baseThemeId);
    }

    /**
     * The theme configuration, which contains the theme display properties. See configuration.
     * 
     * The following arguments are optional:
     * 
     */
    @Import(name="configuration")
    private @Nullable Output configuration;

    /**
     * @return The theme configuration, which contains the theme display properties. See configuration.
     * 
     * The following arguments are optional:
     * 
     */
    public Optional> configuration() {
        return Optional.ofNullable(this.configuration);
    }

    /**
     * The time that the theme was created.
     * 
     */
    @Import(name="createdTime")
    private @Nullable Output createdTime;

    /**
     * @return The time that the theme was created.
     * 
     */
    public Optional> createdTime() {
        return Optional.ofNullable(this.createdTime);
    }

    /**
     * The time that the theme was last updated.
     * 
     */
    @Import(name="lastUpdatedTime")
    private @Nullable Output lastUpdatedTime;

    /**
     * @return The time that the theme was last updated.
     * 
     */
    public Optional> lastUpdatedTime() {
        return Optional.ofNullable(this.lastUpdatedTime);
    }

    /**
     * Display name of the theme.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Display name of the theme.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * A set of resource permissions on the theme. Maximum of 64 items. See permissions.
     * 
     */
    @Import(name="permissions")
    private @Nullable Output> permissions;

    /**
     * @return A set of resource permissions on the theme. Maximum of 64 items. See permissions.
     * 
     */
    public Optional>> permissions() {
        return Optional.ofNullable(this.permissions);
    }

    /**
     * The theme creation status.
     * 
     */
    @Import(name="status")
    private @Nullable Output status;

    /**
     * @return The theme creation status.
     * 
     */
    public Optional> status() {
        return Optional.ofNullable(this.status);
    }

    /**
     * Key-value map of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return Key-value map of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    /**
     * A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
     * 
     * @deprecated
     * Please use `tags` instead.
     * 
     */
    @Deprecated /* Please use `tags` instead. */
    @Import(name="tagsAll")
    private @Nullable Output> tagsAll;

    /**
     * @return A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
     * 
     * @deprecated
     * Please use `tags` instead.
     * 
     */
    @Deprecated /* Please use `tags` instead. */
    public Optional>> tagsAll() {
        return Optional.ofNullable(this.tagsAll);
    }

    /**
     * Identifier of the theme.
     * 
     */
    @Import(name="themeId")
    private @Nullable Output themeId;

    /**
     * @return Identifier of the theme.
     * 
     */
    public Optional> themeId() {
        return Optional.ofNullable(this.themeId);
    }

    /**
     * A description of the current theme version being created/updated.
     * 
     */
    @Import(name="versionDescription")
    private @Nullable Output versionDescription;

    /**
     * @return A description of the current theme version being created/updated.
     * 
     */
    public Optional> versionDescription() {
        return Optional.ofNullable(this.versionDescription);
    }

    /**
     * The version number of the theme version.
     * 
     */
    @Import(name="versionNumber")
    private @Nullable Output versionNumber;

    /**
     * @return The version number of the theme version.
     * 
     */
    public Optional> versionNumber() {
        return Optional.ofNullable(this.versionNumber);
    }

    private ThemeState() {}

    private ThemeState(ThemeState $) {
        this.arn = $.arn;
        this.awsAccountId = $.awsAccountId;
        this.baseThemeId = $.baseThemeId;
        this.configuration = $.configuration;
        this.createdTime = $.createdTime;
        this.lastUpdatedTime = $.lastUpdatedTime;
        this.name = $.name;
        this.permissions = $.permissions;
        this.status = $.status;
        this.tags = $.tags;
        this.tagsAll = $.tagsAll;
        this.themeId = $.themeId;
        this.versionDescription = $.versionDescription;
        this.versionNumber = $.versionNumber;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(ThemeState defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private ThemeState $;

        public Builder() {
            $ = new ThemeState();
        }

        public Builder(ThemeState defaults) {
            $ = new ThemeState(Objects.requireNonNull(defaults));
        }

        /**
         * @param arn ARN of the theme.
         * 
         * @return builder
         * 
         */
        public Builder arn(@Nullable Output arn) {
            $.arn = arn;
            return this;
        }

        /**
         * @param arn ARN of the theme.
         * 
         * @return builder
         * 
         */
        public Builder arn(String arn) {
            return arn(Output.of(arn));
        }

        /**
         * @param awsAccountId AWS account ID.
         * 
         * @return builder
         * 
         */
        public Builder awsAccountId(@Nullable Output awsAccountId) {
            $.awsAccountId = awsAccountId;
            return this;
        }

        /**
         * @param awsAccountId AWS account ID.
         * 
         * @return builder
         * 
         */
        public Builder awsAccountId(String awsAccountId) {
            return awsAccountId(Output.of(awsAccountId));
        }

        /**
         * @param 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.
         * 
         * @return builder
         * 
         */
        public Builder baseThemeId(@Nullable Output baseThemeId) {
            $.baseThemeId = baseThemeId;
            return this;
        }

        /**
         * @param 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.
         * 
         * @return builder
         * 
         */
        public Builder baseThemeId(String baseThemeId) {
            return baseThemeId(Output.of(baseThemeId));
        }

        /**
         * @param configuration The theme configuration, which contains the theme display properties. See configuration.
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder configuration(@Nullable Output configuration) {
            $.configuration = configuration;
            return this;
        }

        /**
         * @param configuration The theme configuration, which contains the theme display properties. See configuration.
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder configuration(ThemeConfigurationArgs configuration) {
            return configuration(Output.of(configuration));
        }

        /**
         * @param createdTime The time that the theme was created.
         * 
         * @return builder
         * 
         */
        public Builder createdTime(@Nullable Output createdTime) {
            $.createdTime = createdTime;
            return this;
        }

        /**
         * @param createdTime The time that the theme was created.
         * 
         * @return builder
         * 
         */
        public Builder createdTime(String createdTime) {
            return createdTime(Output.of(createdTime));
        }

        /**
         * @param lastUpdatedTime The time that the theme was last updated.
         * 
         * @return builder
         * 
         */
        public Builder lastUpdatedTime(@Nullable Output lastUpdatedTime) {
            $.lastUpdatedTime = lastUpdatedTime;
            return this;
        }

        /**
         * @param lastUpdatedTime The time that the theme was last updated.
         * 
         * @return builder
         * 
         */
        public Builder lastUpdatedTime(String lastUpdatedTime) {
            return lastUpdatedTime(Output.of(lastUpdatedTime));
        }

        /**
         * @param name Display name of the theme.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Display name of the theme.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param permissions A set of resource permissions on the theme. Maximum of 64 items. See permissions.
         * 
         * @return builder
         * 
         */
        public Builder permissions(@Nullable Output> permissions) {
            $.permissions = permissions;
            return this;
        }

        /**
         * @param permissions A set of resource permissions on the theme. Maximum of 64 items. See permissions.
         * 
         * @return builder
         * 
         */
        public Builder permissions(List permissions) {
            return permissions(Output.of(permissions));
        }

        /**
         * @param permissions A set of resource permissions on the theme. Maximum of 64 items. See permissions.
         * 
         * @return builder
         * 
         */
        public Builder permissions(ThemePermissionArgs... permissions) {
            return permissions(List.of(permissions));
        }

        /**
         * @param status The theme creation status.
         * 
         * @return builder
         * 
         */
        public Builder status(@Nullable Output status) {
            $.status = status;
            return this;
        }

        /**
         * @param status The theme creation status.
         * 
         * @return builder
         * 
         */
        public Builder status(String status) {
            return status(Output.of(status));
        }

        /**
         * @param tags Key-value map of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags Key-value map of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        /**
         * @param tagsAll A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
         * 
         * @return builder
         * 
         * @deprecated
         * Please use `tags` instead.
         * 
         */
        @Deprecated /* Please use `tags` instead. */
        public Builder tagsAll(@Nullable Output> tagsAll) {
            $.tagsAll = tagsAll;
            return this;
        }

        /**
         * @param tagsAll A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
         * 
         * @return builder
         * 
         * @deprecated
         * Please use `tags` instead.
         * 
         */
        @Deprecated /* Please use `tags` instead. */
        public Builder tagsAll(Map tagsAll) {
            return tagsAll(Output.of(tagsAll));
        }

        /**
         * @param themeId Identifier of the theme.
         * 
         * @return builder
         * 
         */
        public Builder themeId(@Nullable Output themeId) {
            $.themeId = themeId;
            return this;
        }

        /**
         * @param themeId Identifier of the theme.
         * 
         * @return builder
         * 
         */
        public Builder themeId(String themeId) {
            return themeId(Output.of(themeId));
        }

        /**
         * @param versionDescription A description of the current theme version being created/updated.
         * 
         * @return builder
         * 
         */
        public Builder versionDescription(@Nullable Output versionDescription) {
            $.versionDescription = versionDescription;
            return this;
        }

        /**
         * @param versionDescription A description of the current theme version being created/updated.
         * 
         * @return builder
         * 
         */
        public Builder versionDescription(String versionDescription) {
            return versionDescription(Output.of(versionDescription));
        }

        /**
         * @param versionNumber The version number of the theme version.
         * 
         * @return builder
         * 
         */
        public Builder versionNumber(@Nullable Output versionNumber) {
            $.versionNumber = versionNumber;
            return this;
        }

        /**
         * @param versionNumber The version number of the theme version.
         * 
         * @return builder
         * 
         */
        public Builder versionNumber(Integer versionNumber) {
            return versionNumber(Output.of(versionNumber));
        }

        public ThemeState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy