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

com.pulumi.azurenative.datalakestore.AccountArgs 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.datalakestore;

import com.pulumi.azurenative.datalakestore.enums.EncryptionState;
import com.pulumi.azurenative.datalakestore.enums.FirewallAllowAzureIpsState;
import com.pulumi.azurenative.datalakestore.enums.FirewallState;
import com.pulumi.azurenative.datalakestore.enums.TierType;
import com.pulumi.azurenative.datalakestore.enums.TrustedIdProviderState;
import com.pulumi.azurenative.datalakestore.inputs.CreateFirewallRuleWithAccountParametersArgs;
import com.pulumi.azurenative.datalakestore.inputs.CreateTrustedIdProviderWithAccountParametersArgs;
import com.pulumi.azurenative.datalakestore.inputs.CreateVirtualNetworkRuleWithAccountParametersArgs;
import com.pulumi.azurenative.datalakestore.inputs.EncryptionConfigArgs;
import com.pulumi.azurenative.datalakestore.inputs.EncryptionIdentityArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
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 AccountArgs extends com.pulumi.resources.ResourceArgs {

    public static final AccountArgs Empty = new AccountArgs();

    /**
     * The name of the Data Lake Store account.
     * 
     */
    @Import(name="accountName")
    private @Nullable Output accountName;

    /**
     * @return The name of the Data Lake Store account.
     * 
     */
    public Optional> accountName() {
        return Optional.ofNullable(this.accountName);
    }

    /**
     * The default owner group for all new folders and files created in the Data Lake Store account.
     * 
     */
    @Import(name="defaultGroup")
    private @Nullable Output defaultGroup;

    /**
     * @return The default owner group for all new folders and files created in the Data Lake Store account.
     * 
     */
    public Optional> defaultGroup() {
        return Optional.ofNullable(this.defaultGroup);
    }

    /**
     * The Key Vault encryption configuration.
     * 
     */
    @Import(name="encryptionConfig")
    private @Nullable Output encryptionConfig;

    /**
     * @return The Key Vault encryption configuration.
     * 
     */
    public Optional> encryptionConfig() {
        return Optional.ofNullable(this.encryptionConfig);
    }

    /**
     * The current state of encryption for this Data Lake Store account.
     * 
     */
    @Import(name="encryptionState")
    private @Nullable Output encryptionState;

    /**
     * @return The current state of encryption for this Data Lake Store account.
     * 
     */
    public Optional> encryptionState() {
        return Optional.ofNullable(this.encryptionState);
    }

    /**
     * The current state of allowing or disallowing IPs originating within Azure through the firewall. If the firewall is disabled, this is not enforced.
     * 
     */
    @Import(name="firewallAllowAzureIps")
    private @Nullable Output firewallAllowAzureIps;

    /**
     * @return The current state of allowing or disallowing IPs originating within Azure through the firewall. If the firewall is disabled, this is not enforced.
     * 
     */
    public Optional> firewallAllowAzureIps() {
        return Optional.ofNullable(this.firewallAllowAzureIps);
    }

    /**
     * The list of firewall rules associated with this Data Lake Store account.
     * 
     */
    @Import(name="firewallRules")
    private @Nullable Output> firewallRules;

    /**
     * @return The list of firewall rules associated with this Data Lake Store account.
     * 
     */
    public Optional>> firewallRules() {
        return Optional.ofNullable(this.firewallRules);
    }

    /**
     * The current state of the IP address firewall for this Data Lake Store account.
     * 
     */
    @Import(name="firewallState")
    private @Nullable Output firewallState;

    /**
     * @return The current state of the IP address firewall for this Data Lake Store account.
     * 
     */
    public Optional> firewallState() {
        return Optional.ofNullable(this.firewallState);
    }

    /**
     * The Key Vault encryption identity, if any.
     * 
     */
    @Import(name="identity")
    private @Nullable Output identity;

    /**
     * @return The Key Vault encryption identity, if any.
     * 
     */
    public Optional> identity() {
        return Optional.ofNullable(this.identity);
    }

    /**
     * The resource location.
     * 
     */
    @Import(name="location")
    private @Nullable Output location;

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

    /**
     * The commitment tier to use for next month.
     * 
     */
    @Import(name="newTier")
    private @Nullable Output newTier;

    /**
     * @return The commitment tier to use for next month.
     * 
     */
    public Optional> newTier() {
        return Optional.ofNullable(this.newTier);
    }

    /**
     * The name of the Azure resource group.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The name of the Azure resource group.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * The resource tags.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

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

    /**
     * The current state of the trusted identity provider feature for this Data Lake Store account.
     * 
     */
    @Import(name="trustedIdProviderState")
    private @Nullable Output trustedIdProviderState;

    /**
     * @return The current state of the trusted identity provider feature for this Data Lake Store account.
     * 
     */
    public Optional> trustedIdProviderState() {
        return Optional.ofNullable(this.trustedIdProviderState);
    }

    /**
     * The list of trusted identity providers associated with this Data Lake Store account.
     * 
     */
    @Import(name="trustedIdProviders")
    private @Nullable Output> trustedIdProviders;

    /**
     * @return The list of trusted identity providers associated with this Data Lake Store account.
     * 
     */
    public Optional>> trustedIdProviders() {
        return Optional.ofNullable(this.trustedIdProviders);
    }

    /**
     * The list of virtual network rules associated with this Data Lake Store account.
     * 
     */
    @Import(name="virtualNetworkRules")
    private @Nullable Output> virtualNetworkRules;

    /**
     * @return The list of virtual network rules associated with this Data Lake Store account.
     * 
     */
    public Optional>> virtualNetworkRules() {
        return Optional.ofNullable(this.virtualNetworkRules);
    }

    private AccountArgs() {}

    private AccountArgs(AccountArgs $) {
        this.accountName = $.accountName;
        this.defaultGroup = $.defaultGroup;
        this.encryptionConfig = $.encryptionConfig;
        this.encryptionState = $.encryptionState;
        this.firewallAllowAzureIps = $.firewallAllowAzureIps;
        this.firewallRules = $.firewallRules;
        this.firewallState = $.firewallState;
        this.identity = $.identity;
        this.location = $.location;
        this.newTier = $.newTier;
        this.resourceGroupName = $.resourceGroupName;
        this.tags = $.tags;
        this.trustedIdProviderState = $.trustedIdProviderState;
        this.trustedIdProviders = $.trustedIdProviders;
        this.virtualNetworkRules = $.virtualNetworkRules;
    }

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

    public static final class Builder {
        private AccountArgs $;

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

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

        /**
         * @param accountName The name of the Data Lake Store account.
         * 
         * @return builder
         * 
         */
        public Builder accountName(@Nullable Output accountName) {
            $.accountName = accountName;
            return this;
        }

        /**
         * @param accountName The name of the Data Lake Store account.
         * 
         * @return builder
         * 
         */
        public Builder accountName(String accountName) {
            return accountName(Output.of(accountName));
        }

        /**
         * @param defaultGroup The default owner group for all new folders and files created in the Data Lake Store account.
         * 
         * @return builder
         * 
         */
        public Builder defaultGroup(@Nullable Output defaultGroup) {
            $.defaultGroup = defaultGroup;
            return this;
        }

        /**
         * @param defaultGroup The default owner group for all new folders and files created in the Data Lake Store account.
         * 
         * @return builder
         * 
         */
        public Builder defaultGroup(String defaultGroup) {
            return defaultGroup(Output.of(defaultGroup));
        }

        /**
         * @param encryptionConfig The Key Vault encryption configuration.
         * 
         * @return builder
         * 
         */
        public Builder encryptionConfig(@Nullable Output encryptionConfig) {
            $.encryptionConfig = encryptionConfig;
            return this;
        }

        /**
         * @param encryptionConfig The Key Vault encryption configuration.
         * 
         * @return builder
         * 
         */
        public Builder encryptionConfig(EncryptionConfigArgs encryptionConfig) {
            return encryptionConfig(Output.of(encryptionConfig));
        }

        /**
         * @param encryptionState The current state of encryption for this Data Lake Store account.
         * 
         * @return builder
         * 
         */
        public Builder encryptionState(@Nullable Output encryptionState) {
            $.encryptionState = encryptionState;
            return this;
        }

        /**
         * @param encryptionState The current state of encryption for this Data Lake Store account.
         * 
         * @return builder
         * 
         */
        public Builder encryptionState(EncryptionState encryptionState) {
            return encryptionState(Output.of(encryptionState));
        }

        /**
         * @param firewallAllowAzureIps The current state of allowing or disallowing IPs originating within Azure through the firewall. If the firewall is disabled, this is not enforced.
         * 
         * @return builder
         * 
         */
        public Builder firewallAllowAzureIps(@Nullable Output firewallAllowAzureIps) {
            $.firewallAllowAzureIps = firewallAllowAzureIps;
            return this;
        }

        /**
         * @param firewallAllowAzureIps The current state of allowing or disallowing IPs originating within Azure through the firewall. If the firewall is disabled, this is not enforced.
         * 
         * @return builder
         * 
         */
        public Builder firewallAllowAzureIps(FirewallAllowAzureIpsState firewallAllowAzureIps) {
            return firewallAllowAzureIps(Output.of(firewallAllowAzureIps));
        }

        /**
         * @param firewallRules The list of firewall rules associated with this Data Lake Store account.
         * 
         * @return builder
         * 
         */
        public Builder firewallRules(@Nullable Output> firewallRules) {
            $.firewallRules = firewallRules;
            return this;
        }

        /**
         * @param firewallRules The list of firewall rules associated with this Data Lake Store account.
         * 
         * @return builder
         * 
         */
        public Builder firewallRules(List firewallRules) {
            return firewallRules(Output.of(firewallRules));
        }

        /**
         * @param firewallRules The list of firewall rules associated with this Data Lake Store account.
         * 
         * @return builder
         * 
         */
        public Builder firewallRules(CreateFirewallRuleWithAccountParametersArgs... firewallRules) {
            return firewallRules(List.of(firewallRules));
        }

        /**
         * @param firewallState The current state of the IP address firewall for this Data Lake Store account.
         * 
         * @return builder
         * 
         */
        public Builder firewallState(@Nullable Output firewallState) {
            $.firewallState = firewallState;
            return this;
        }

        /**
         * @param firewallState The current state of the IP address firewall for this Data Lake Store account.
         * 
         * @return builder
         * 
         */
        public Builder firewallState(FirewallState firewallState) {
            return firewallState(Output.of(firewallState));
        }

        /**
         * @param identity The Key Vault encryption identity, if any.
         * 
         * @return builder
         * 
         */
        public Builder identity(@Nullable Output identity) {
            $.identity = identity;
            return this;
        }

        /**
         * @param identity The Key Vault encryption identity, if any.
         * 
         * @return builder
         * 
         */
        public Builder identity(EncryptionIdentityArgs identity) {
            return identity(Output.of(identity));
        }

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

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

        /**
         * @param newTier The commitment tier to use for next month.
         * 
         * @return builder
         * 
         */
        public Builder newTier(@Nullable Output newTier) {
            $.newTier = newTier;
            return this;
        }

        /**
         * @param newTier The commitment tier to use for next month.
         * 
         * @return builder
         * 
         */
        public Builder newTier(TierType newTier) {
            return newTier(Output.of(newTier));
        }

        /**
         * @param resourceGroupName The name of the Azure resource group.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the Azure resource group.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

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

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

        /**
         * @param trustedIdProviderState The current state of the trusted identity provider feature for this Data Lake Store account.
         * 
         * @return builder
         * 
         */
        public Builder trustedIdProviderState(@Nullable Output trustedIdProviderState) {
            $.trustedIdProviderState = trustedIdProviderState;
            return this;
        }

        /**
         * @param trustedIdProviderState The current state of the trusted identity provider feature for this Data Lake Store account.
         * 
         * @return builder
         * 
         */
        public Builder trustedIdProviderState(TrustedIdProviderState trustedIdProviderState) {
            return trustedIdProviderState(Output.of(trustedIdProviderState));
        }

        /**
         * @param trustedIdProviders The list of trusted identity providers associated with this Data Lake Store account.
         * 
         * @return builder
         * 
         */
        public Builder trustedIdProviders(@Nullable Output> trustedIdProviders) {
            $.trustedIdProviders = trustedIdProviders;
            return this;
        }

        /**
         * @param trustedIdProviders The list of trusted identity providers associated with this Data Lake Store account.
         * 
         * @return builder
         * 
         */
        public Builder trustedIdProviders(List trustedIdProviders) {
            return trustedIdProviders(Output.of(trustedIdProviders));
        }

        /**
         * @param trustedIdProviders The list of trusted identity providers associated with this Data Lake Store account.
         * 
         * @return builder
         * 
         */
        public Builder trustedIdProviders(CreateTrustedIdProviderWithAccountParametersArgs... trustedIdProviders) {
            return trustedIdProviders(List.of(trustedIdProviders));
        }

        /**
         * @param virtualNetworkRules The list of virtual network rules associated with this Data Lake Store account.
         * 
         * @return builder
         * 
         */
        public Builder virtualNetworkRules(@Nullable Output> virtualNetworkRules) {
            $.virtualNetworkRules = virtualNetworkRules;
            return this;
        }

        /**
         * @param virtualNetworkRules The list of virtual network rules associated with this Data Lake Store account.
         * 
         * @return builder
         * 
         */
        public Builder virtualNetworkRules(List virtualNetworkRules) {
            return virtualNetworkRules(Output.of(virtualNetworkRules));
        }

        /**
         * @param virtualNetworkRules The list of virtual network rules associated with this Data Lake Store account.
         * 
         * @return builder
         * 
         */
        public Builder virtualNetworkRules(CreateVirtualNetworkRuleWithAccountParametersArgs... virtualNetworkRules) {
            return virtualNetworkRules(List.of(virtualNetworkRules));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy