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

com.pulumi.azurenative.documentdb.inputs.TableResourceArgs 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 table resource object
 * 
 */
public final class TableResourceArgs extends com.pulumi.resources.ResourceArgs {

    public static final TableResourceArgs Empty = new TableResourceArgs();

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

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

    private TableResourceArgs() {}

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

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

    public static final class Builder {
        private TableResourceArgs $;

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

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

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

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy