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

com.pulumi.azurenative.datacatalog.ADCCatalogArgs Maven / Gradle / Ivy

There is a newer version: 2.78.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.datacatalog;

import com.pulumi.azurenative.datacatalog.enums.SkuType;
import com.pulumi.azurenative.datacatalog.inputs.PrincipalsArgs;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ADCCatalogArgs Empty = new ADCCatalogArgs();

    /**
     * Azure data catalog admin list.
     * 
     */
    @Import(name="admins")
    private @Nullable Output> admins;

    /**
     * @return Azure data catalog admin list.
     * 
     */
    public Optional>> admins() {
        return Optional.ofNullable(this.admins);
    }

    /**
     * The name of the data catalog in the specified subscription and resource group.
     * 
     */
    @Import(name="catalogName")
    private @Nullable Output catalogName;

    /**
     * @return The name of the data catalog in the specified subscription and resource group.
     * 
     */
    public Optional> catalogName() {
        return Optional.ofNullable(this.catalogName);
    }

    /**
     * Automatic unit adjustment enabled or not.
     * 
     */
    @Import(name="enableAutomaticUnitAdjustment")
    private @Nullable Output enableAutomaticUnitAdjustment;

    /**
     * @return Automatic unit adjustment enabled or not.
     * 
     */
    public Optional> enableAutomaticUnitAdjustment() {
        return Optional.ofNullable(this.enableAutomaticUnitAdjustment);
    }

    /**
     * Resource location
     * 
     */
    @Import(name="location")
    private @Nullable Output location;

    /**
     * @return Resource location
     * 
     */
    public Optional> location() {
        return Optional.ofNullable(this.location);
    }

    /**
     * The name of the resource group within the user's subscription. The name is case insensitive.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The name of the resource group within the user's subscription. The name is case insensitive.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * Azure data catalog SKU.
     * 
     */
    @Import(name="sku")
    private @Nullable Output> sku;

    /**
     * @return Azure data catalog SKU.
     * 
     */
    public Optional>> sku() {
        return Optional.ofNullable(this.sku);
    }

    /**
     * Azure data catalog provision status.
     * 
     */
    @Import(name="successfullyProvisioned")
    private @Nullable Output successfullyProvisioned;

    /**
     * @return Azure data catalog provision status.
     * 
     */
    public Optional> successfullyProvisioned() {
        return Optional.ofNullable(this.successfullyProvisioned);
    }

    /**
     * Resource tags
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return Resource tags
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    /**
     * Azure data catalog units.
     * 
     */
    @Import(name="units")
    private @Nullable Output units;

    /**
     * @return Azure data catalog units.
     * 
     */
    public Optional> units() {
        return Optional.ofNullable(this.units);
    }

    /**
     * Azure data catalog user list.
     * 
     */
    @Import(name="users")
    private @Nullable Output> users;

    /**
     * @return Azure data catalog user list.
     * 
     */
    public Optional>> users() {
        return Optional.ofNullable(this.users);
    }

    private ADCCatalogArgs() {}

    private ADCCatalogArgs(ADCCatalogArgs $) {
        this.admins = $.admins;
        this.catalogName = $.catalogName;
        this.enableAutomaticUnitAdjustment = $.enableAutomaticUnitAdjustment;
        this.location = $.location;
        this.resourceGroupName = $.resourceGroupName;
        this.sku = $.sku;
        this.successfullyProvisioned = $.successfullyProvisioned;
        this.tags = $.tags;
        this.units = $.units;
        this.users = $.users;
    }

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

    public static final class Builder {
        private ADCCatalogArgs $;

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

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

        /**
         * @param admins Azure data catalog admin list.
         * 
         * @return builder
         * 
         */
        public Builder admins(@Nullable Output> admins) {
            $.admins = admins;
            return this;
        }

        /**
         * @param admins Azure data catalog admin list.
         * 
         * @return builder
         * 
         */
        public Builder admins(List admins) {
            return admins(Output.of(admins));
        }

        /**
         * @param admins Azure data catalog admin list.
         * 
         * @return builder
         * 
         */
        public Builder admins(PrincipalsArgs... admins) {
            return admins(List.of(admins));
        }

        /**
         * @param catalogName The name of the data catalog in the specified subscription and resource group.
         * 
         * @return builder
         * 
         */
        public Builder catalogName(@Nullable Output catalogName) {
            $.catalogName = catalogName;
            return this;
        }

        /**
         * @param catalogName The name of the data catalog in the specified subscription and resource group.
         * 
         * @return builder
         * 
         */
        public Builder catalogName(String catalogName) {
            return catalogName(Output.of(catalogName));
        }

        /**
         * @param enableAutomaticUnitAdjustment Automatic unit adjustment enabled or not.
         * 
         * @return builder
         * 
         */
        public Builder enableAutomaticUnitAdjustment(@Nullable Output enableAutomaticUnitAdjustment) {
            $.enableAutomaticUnitAdjustment = enableAutomaticUnitAdjustment;
            return this;
        }

        /**
         * @param enableAutomaticUnitAdjustment Automatic unit adjustment enabled or not.
         * 
         * @return builder
         * 
         */
        public Builder enableAutomaticUnitAdjustment(Boolean enableAutomaticUnitAdjustment) {
            return enableAutomaticUnitAdjustment(Output.of(enableAutomaticUnitAdjustment));
        }

        /**
         * @param location Resource location
         * 
         * @return builder
         * 
         */
        public Builder location(@Nullable Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location Resource location
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        /**
         * @param resourceGroupName The name of the resource group within the user's subscription. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group within the user's subscription. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param sku Azure data catalog SKU.
         * 
         * @return builder
         * 
         */
        public Builder sku(@Nullable Output> sku) {
            $.sku = sku;
            return this;
        }

        /**
         * @param sku Azure data catalog SKU.
         * 
         * @return builder
         * 
         */
        public Builder sku(Either sku) {
            return sku(Output.of(sku));
        }

        /**
         * @param sku Azure data catalog SKU.
         * 
         * @return builder
         * 
         */
        public Builder sku(String sku) {
            return sku(Either.ofLeft(sku));
        }

        /**
         * @param sku Azure data catalog SKU.
         * 
         * @return builder
         * 
         */
        public Builder sku(SkuType sku) {
            return sku(Either.ofRight(sku));
        }

        /**
         * @param successfullyProvisioned Azure data catalog provision status.
         * 
         * @return builder
         * 
         */
        public Builder successfullyProvisioned(@Nullable Output successfullyProvisioned) {
            $.successfullyProvisioned = successfullyProvisioned;
            return this;
        }

        /**
         * @param successfullyProvisioned Azure data catalog provision status.
         * 
         * @return builder
         * 
         */
        public Builder successfullyProvisioned(Boolean successfullyProvisioned) {
            return successfullyProvisioned(Output.of(successfullyProvisioned));
        }

        /**
         * @param tags Resource tags
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags Resource tags
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        /**
         * @param units Azure data catalog units.
         * 
         * @return builder
         * 
         */
        public Builder units(@Nullable Output units) {
            $.units = units;
            return this;
        }

        /**
         * @param units Azure data catalog units.
         * 
         * @return builder
         * 
         */
        public Builder units(Integer units) {
            return units(Output.of(units));
        }

        /**
         * @param users Azure data catalog user list.
         * 
         * @return builder
         * 
         */
        public Builder users(@Nullable Output> users) {
            $.users = users;
            return this;
        }

        /**
         * @param users Azure data catalog user list.
         * 
         * @return builder
         * 
         */
        public Builder users(List users) {
            return users(Output.of(users));
        }

        /**
         * @param users Azure data catalog user list.
         * 
         * @return builder
         * 
         */
        public Builder users(PrincipalsArgs... users) {
            return users(List.of(users));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy