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

com.pulumi.azurenative.autonomousdevelopmentplatform.inputs.DataPoolLocationArgs 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.autonomousdevelopmentplatform.inputs;

import com.pulumi.azurenative.autonomousdevelopmentplatform.inputs.DataPoolEncryptionArgs;
import com.pulumi.azurenative.autonomousdevelopmentplatform.inputs.StorageSkuArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Location of a Data Pool
 * 
 */
public final class DataPoolLocationArgs extends com.pulumi.resources.ResourceArgs {

    public static final DataPoolLocationArgs Empty = new DataPoolLocationArgs();

    /**
     * Encryption properties of a Data Pool location
     * 
     */
    @Import(name="encryption")
    private @Nullable Output encryption;

    /**
     * @return Encryption properties of a Data Pool location
     * 
     */
    public Optional> encryption() {
        return Optional.ofNullable(this.encryption);
    }

    /**
     * The location name
     * 
     */
    @Import(name="name", required=true)
    private Output name;

    /**
     * @return The location name
     * 
     */
    public Output name() {
        return this.name;
    }

    /**
     * The amount of storage accounts provisioned per Data Pool. Default: 5
     * 
     */
    @Import(name="storageAccountCount")
    private @Nullable Output storageAccountCount;

    /**
     * @return The amount of storage accounts provisioned per Data Pool. Default: 5
     * 
     */
    public Optional> storageAccountCount() {
        return Optional.ofNullable(this.storageAccountCount);
    }

    /**
     * The Storage SKU. Default: Standard_ZRS.
     * 
     */
    @Import(name="storageSku")
    private @Nullable Output storageSku;

    /**
     * @return The Storage SKU. Default: Standard_ZRS.
     * 
     */
    public Optional> storageSku() {
        return Optional.ofNullable(this.storageSku);
    }

    private DataPoolLocationArgs() {}

    private DataPoolLocationArgs(DataPoolLocationArgs $) {
        this.encryption = $.encryption;
        this.name = $.name;
        this.storageAccountCount = $.storageAccountCount;
        this.storageSku = $.storageSku;
    }

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

    public static final class Builder {
        private DataPoolLocationArgs $;

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

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

        /**
         * @param encryption Encryption properties of a Data Pool location
         * 
         * @return builder
         * 
         */
        public Builder encryption(@Nullable Output encryption) {
            $.encryption = encryption;
            return this;
        }

        /**
         * @param encryption Encryption properties of a Data Pool location
         * 
         * @return builder
         * 
         */
        public Builder encryption(DataPoolEncryptionArgs encryption) {
            return encryption(Output.of(encryption));
        }

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

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

        /**
         * @param storageAccountCount The amount of storage accounts provisioned per Data Pool. Default: 5
         * 
         * @return builder
         * 
         */
        public Builder storageAccountCount(@Nullable Output storageAccountCount) {
            $.storageAccountCount = storageAccountCount;
            return this;
        }

        /**
         * @param storageAccountCount The amount of storage accounts provisioned per Data Pool. Default: 5
         * 
         * @return builder
         * 
         */
        public Builder storageAccountCount(Integer storageAccountCount) {
            return storageAccountCount(Output.of(storageAccountCount));
        }

        /**
         * @param storageSku The Storage SKU. Default: Standard_ZRS.
         * 
         * @return builder
         * 
         */
        public Builder storageSku(@Nullable Output storageSku) {
            $.storageSku = storageSku;
            return this;
        }

        /**
         * @param storageSku The Storage SKU. Default: Standard_ZRS.
         * 
         * @return builder
         * 
         */
        public Builder storageSku(StorageSkuArgs storageSku) {
            return storageSku(Output.of(storageSku));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy