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

com.pulumi.azurenative.documentdb.inputs.GetCassandraDataCenterPlainArgs Maven / Gradle / Ivy

There is a newer version: 2.72.0
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.azurenative.documentdb.inputs;

import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


public final class GetCassandraDataCenterPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetCassandraDataCenterPlainArgs Empty = new GetCassandraDataCenterPlainArgs();

    /**
     * Managed Cassandra cluster name.
     * 
     */
    @Import(name="clusterName", required=true)
    private String clusterName;

    /**
     * @return Managed Cassandra cluster name.
     * 
     */
    public String clusterName() {
        return this.clusterName;
    }

    /**
     * Data center name in a managed Cassandra cluster.
     * 
     */
    @Import(name="dataCenterName", required=true)
    private String dataCenterName;

    /**
     * @return Data center name in a managed Cassandra cluster.
     * 
     */
    public String dataCenterName() {
        return this.dataCenterName;
    }

    /**
     * The name of the resource group. The name is case insensitive.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private String resourceGroupName;

    /**
     * @return The name of the resource group. The name is case insensitive.
     * 
     */
    public String resourceGroupName() {
        return this.resourceGroupName;
    }

    private GetCassandraDataCenterPlainArgs() {}

    private GetCassandraDataCenterPlainArgs(GetCassandraDataCenterPlainArgs $) {
        this.clusterName = $.clusterName;
        this.dataCenterName = $.dataCenterName;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private GetCassandraDataCenterPlainArgs $;

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

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

        /**
         * @param clusterName Managed Cassandra cluster name.
         * 
         * @return builder
         * 
         */
        public Builder clusterName(String clusterName) {
            $.clusterName = clusterName;
            return this;
        }

        /**
         * @param dataCenterName Data center name in a managed Cassandra cluster.
         * 
         * @return builder
         * 
         */
        public Builder dataCenterName(String dataCenterName) {
            $.dataCenterName = dataCenterName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        public GetCassandraDataCenterPlainArgs build() {
            if ($.clusterName == null) {
                throw new MissingRequiredPropertyException("GetCassandraDataCenterPlainArgs", "clusterName");
            }
            if ($.dataCenterName == null) {
                throw new MissingRequiredPropertyException("GetCassandraDataCenterPlainArgs", "dataCenterName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetCassandraDataCenterPlainArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy