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

com.pulumi.azurenative.documentdb.inputs.MongoDBDatabaseResourceArgs 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.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


/**
 * Cosmos DB MongoDB database resource object
 * 
 */
public final class MongoDBDatabaseResourceArgs extends com.pulumi.resources.ResourceArgs {

    public static final MongoDBDatabaseResourceArgs Empty = new MongoDBDatabaseResourceArgs();

    /**
     * Name of the Cosmos DB MongoDB database
     * 
     */
    @Import(name="id", required=true)
    private Output id;

    /**
     * @return Name of the Cosmos DB MongoDB database
     * 
     */
    public Output id() {
        return this.id;
    }

    private MongoDBDatabaseResourceArgs() {}

    private MongoDBDatabaseResourceArgs(MongoDBDatabaseResourceArgs $) {
        this.id = $.id;
    }

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

    public static final class Builder {
        private MongoDBDatabaseResourceArgs $;

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

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

        /**
         * @param id Name of the Cosmos DB MongoDB database
         * 
         * @return builder
         * 
         */
        public Builder id(Output id) {
            $.id = id;
            return this;
        }

        /**
         * @param id Name of the Cosmos DB MongoDB database
         * 
         * @return builder
         * 
         */
        public Builder id(String id) {
            return id(Output.of(id));
        }

        public MongoDBDatabaseResourceArgs build() {
            if ($.id == null) {
                throw new MissingRequiredPropertyException("MongoDBDatabaseResourceArgs", "id");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy