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

com.pulumi.azure.cosmosdb.inputs.MongoRoleDefinitionPrivilegeResourceArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
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.azure.cosmosdb.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class MongoRoleDefinitionPrivilegeResourceArgs extends com.pulumi.resources.ResourceArgs {

    public static final MongoRoleDefinitionPrivilegeResourceArgs Empty = new MongoRoleDefinitionPrivilegeResourceArgs();

    /**
     * The name of the Mongo DB Collection that the Role Definition is applied.
     * 
     */
    @Import(name="collectionName")
    private @Nullable Output collectionName;

    /**
     * @return The name of the Mongo DB Collection that the Role Definition is applied.
     * 
     */
    public Optional> collectionName() {
        return Optional.ofNullable(this.collectionName);
    }

    /**
     * The name of the Mongo DB that the Role Definition is applied.
     * 
     */
    @Import(name="dbName")
    private @Nullable Output dbName;

    /**
     * @return The name of the Mongo DB that the Role Definition is applied.
     * 
     */
    public Optional> dbName() {
        return Optional.ofNullable(this.dbName);
    }

    private MongoRoleDefinitionPrivilegeResourceArgs() {}

    private MongoRoleDefinitionPrivilegeResourceArgs(MongoRoleDefinitionPrivilegeResourceArgs $) {
        this.collectionName = $.collectionName;
        this.dbName = $.dbName;
    }

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

    public static final class Builder {
        private MongoRoleDefinitionPrivilegeResourceArgs $;

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

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

        /**
         * @param collectionName The name of the Mongo DB Collection that the Role Definition is applied.
         * 
         * @return builder
         * 
         */
        public Builder collectionName(@Nullable Output collectionName) {
            $.collectionName = collectionName;
            return this;
        }

        /**
         * @param collectionName The name of the Mongo DB Collection that the Role Definition is applied.
         * 
         * @return builder
         * 
         */
        public Builder collectionName(String collectionName) {
            return collectionName(Output.of(collectionName));
        }

        /**
         * @param dbName The name of the Mongo DB that the Role Definition is applied.
         * 
         * @return builder
         * 
         */
        public Builder dbName(@Nullable Output dbName) {
            $.dbName = dbName;
            return this;
        }

        /**
         * @param dbName The name of the Mongo DB that the Role Definition is applied.
         * 
         * @return builder
         * 
         */
        public Builder dbName(String dbName) {
            return dbName(Output.of(dbName));
        }

        public MongoRoleDefinitionPrivilegeResourceArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy