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

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

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.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 GetCassandraResourceCassandraViewPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetCassandraResourceCassandraViewPlainArgs Empty = new GetCassandraResourceCassandraViewPlainArgs();

    /**
     * Cosmos DB database account name.
     * 
     */
    @Import(name="accountName", required=true)
    private String accountName;

    /**
     * @return Cosmos DB database account name.
     * 
     */
    public String accountName() {
        return this.accountName;
    }

    /**
     * Cosmos DB keyspace name.
     * 
     */
    @Import(name="keyspaceName", required=true)
    private String keyspaceName;

    /**
     * @return Cosmos DB keyspace name.
     * 
     */
    public String keyspaceName() {
        return this.keyspaceName;
    }

    /**
     * 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;
    }

    /**
     * Cosmos DB view name.
     * 
     */
    @Import(name="viewName", required=true)
    private String viewName;

    /**
     * @return Cosmos DB view name.
     * 
     */
    public String viewName() {
        return this.viewName;
    }

    private GetCassandraResourceCassandraViewPlainArgs() {}

    private GetCassandraResourceCassandraViewPlainArgs(GetCassandraResourceCassandraViewPlainArgs $) {
        this.accountName = $.accountName;
        this.keyspaceName = $.keyspaceName;
        this.resourceGroupName = $.resourceGroupName;
        this.viewName = $.viewName;
    }

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

    public static final class Builder {
        private GetCassandraResourceCassandraViewPlainArgs $;

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

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

        /**
         * @param accountName Cosmos DB database account name.
         * 
         * @return builder
         * 
         */
        public Builder accountName(String accountName) {
            $.accountName = accountName;
            return this;
        }

        /**
         * @param keyspaceName Cosmos DB keyspace name.
         * 
         * @return builder
         * 
         */
        public Builder keyspaceName(String keyspaceName) {
            $.keyspaceName = keyspaceName;
            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;
        }

        /**
         * @param viewName Cosmos DB view name.
         * 
         * @return builder
         * 
         */
        public Builder viewName(String viewName) {
            $.viewName = viewName;
            return this;
        }

        public GetCassandraResourceCassandraViewPlainArgs build() {
            if ($.accountName == null) {
                throw new MissingRequiredPropertyException("GetCassandraResourceCassandraViewPlainArgs", "accountName");
            }
            if ($.keyspaceName == null) {
                throw new MissingRequiredPropertyException("GetCassandraResourceCassandraViewPlainArgs", "keyspaceName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetCassandraResourceCassandraViewPlainArgs", "resourceGroupName");
            }
            if ($.viewName == null) {
                throw new MissingRequiredPropertyException("GetCassandraResourceCassandraViewPlainArgs", "viewName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy