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

com.pulumi.aws.msk.inputs.ServerlessClusterState Maven / Gradle / Ivy

Go to download

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

There is a newer version: 6.60.0-alpha.1731982519
Show 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.msk.inputs;

import com.pulumi.aws.msk.inputs.ServerlessClusterClientAuthenticationArgs;
import com.pulumi.aws.msk.inputs.ServerlessClusterVpcConfigArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
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 ServerlessClusterState extends com.pulumi.resources.ResourceArgs {

    public static final ServerlessClusterState Empty = new ServerlessClusterState();

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

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

    /**
     * Specifies client authentication information for the serverless cluster. See below.
     * 
     */
    @Import(name="clientAuthentication")
    private @Nullable Output clientAuthentication;

    /**
     * @return Specifies client authentication information for the serverless cluster. See below.
     * 
     */
    public Optional> clientAuthentication() {
        return Optional.ofNullable(this.clientAuthentication);
    }

    /**
     * The name of the serverless cluster.
     * 
     */
    @Import(name="clusterName")
    private @Nullable Output clusterName;

    /**
     * @return The name of the serverless cluster.
     * 
     */
    public Optional> clusterName() {
        return Optional.ofNullable(this.clusterName);
    }

    /**
     * UUID of the serverless cluster, for use in IAM policies.
     * 
     */
    @Import(name="clusterUuid")
    private @Nullable Output clusterUuid;

    /**
     * @return UUID of the serverless cluster, for use in IAM policies.
     * 
     */
    public Optional> clusterUuid() {
        return Optional.ofNullable(this.clusterUuid);
    }

    /**
     * A map of tags to assign to the resource. 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 A map of tags to assign to the resource. 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);
    }

    /**
     * VPC configuration information. See below.
     * 
     */
    @Import(name="vpcConfigs")
    private @Nullable Output> vpcConfigs;

    /**
     * @return VPC configuration information. See below.
     * 
     */
    public Optional>> vpcConfigs() {
        return Optional.ofNullable(this.vpcConfigs);
    }

    private ServerlessClusterState() {}

    private ServerlessClusterState(ServerlessClusterState $) {
        this.arn = $.arn;
        this.clientAuthentication = $.clientAuthentication;
        this.clusterName = $.clusterName;
        this.clusterUuid = $.clusterUuid;
        this.tags = $.tags;
        this.tagsAll = $.tagsAll;
        this.vpcConfigs = $.vpcConfigs;
    }

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

    public static final class Builder {
        private ServerlessClusterState $;

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

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

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

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

        /**
         * @param clientAuthentication Specifies client authentication information for the serverless cluster. See below.
         * 
         * @return builder
         * 
         */
        public Builder clientAuthentication(@Nullable Output clientAuthentication) {
            $.clientAuthentication = clientAuthentication;
            return this;
        }

        /**
         * @param clientAuthentication Specifies client authentication information for the serverless cluster. See below.
         * 
         * @return builder
         * 
         */
        public Builder clientAuthentication(ServerlessClusterClientAuthenticationArgs clientAuthentication) {
            return clientAuthentication(Output.of(clientAuthentication));
        }

        /**
         * @param clusterName The name of the serverless cluster.
         * 
         * @return builder
         * 
         */
        public Builder clusterName(@Nullable Output clusterName) {
            $.clusterName = clusterName;
            return this;
        }

        /**
         * @param clusterName The name of the serverless cluster.
         * 
         * @return builder
         * 
         */
        public Builder clusterName(String clusterName) {
            return clusterName(Output.of(clusterName));
        }

        /**
         * @param clusterUuid UUID of the serverless cluster, for use in IAM policies.
         * 
         * @return builder
         * 
         */
        public Builder clusterUuid(@Nullable Output clusterUuid) {
            $.clusterUuid = clusterUuid;
            return this;
        }

        /**
         * @param clusterUuid UUID of the serverless cluster, for use in IAM policies.
         * 
         * @return builder
         * 
         */
        public Builder clusterUuid(String clusterUuid) {
            return clusterUuid(Output.of(clusterUuid));
        }

        /**
         * @param tags A map of tags to assign to the resource. 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 A map of tags to assign to the resource. 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 vpcConfigs VPC configuration information. See below.
         * 
         * @return builder
         * 
         */
        public Builder vpcConfigs(@Nullable Output> vpcConfigs) {
            $.vpcConfigs = vpcConfigs;
            return this;
        }

        /**
         * @param vpcConfigs VPC configuration information. See below.
         * 
         * @return builder
         * 
         */
        public Builder vpcConfigs(List vpcConfigs) {
            return vpcConfigs(Output.of(vpcConfigs));
        }

        /**
         * @param vpcConfigs VPC configuration information. See below.
         * 
         * @return builder
         * 
         */
        public Builder vpcConfigs(ServerlessClusterVpcConfigArgs... vpcConfigs) {
            return vpcConfigs(List.of(vpcConfigs));
        }

        public ServerlessClusterState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy