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

com.pulumi.azurenative.containerstorage.inputs.ElasticSanArgs Maven / Gradle / Ivy

The 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.containerstorage.inputs;

import com.pulumi.azurenative.containerstorage.enums.ElasticSanSkuName;
import com.pulumi.azurenative.containerstorage.inputs.EncryptionArgs;
import com.pulumi.core.Either;
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;


/**
 * Elastic San Pool Properties
 * 
 */
public final class ElasticSanArgs extends com.pulumi.resources.ResourceArgs {

    public static final ElasticSanArgs Empty = new ElasticSanArgs();

    /**
     * Encryption specifies the encryption configuration for the Azure Disk pool
     * 
     */
    @Import(name="encryption")
    private @Nullable Output encryption;

    /**
     * @return Encryption specifies the encryption configuration for the Azure Disk pool
     * 
     */
    public Optional> encryption() {
        return Optional.ofNullable(this.encryption);
    }

    /**
     * Sku name
     * 
     */
    @Import(name="skuName")
    private @Nullable Output> skuName;

    /**
     * @return Sku name
     * 
     */
    public Optional>> skuName() {
        return Optional.ofNullable(this.skuName);
    }

    private ElasticSanArgs() {}

    private ElasticSanArgs(ElasticSanArgs $) {
        this.encryption = $.encryption;
        this.skuName = $.skuName;
    }

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

    public static final class Builder {
        private ElasticSanArgs $;

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

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

        /**
         * @param encryption Encryption specifies the encryption configuration for the Azure Disk pool
         * 
         * @return builder
         * 
         */
        public Builder encryption(@Nullable Output encryption) {
            $.encryption = encryption;
            return this;
        }

        /**
         * @param encryption Encryption specifies the encryption configuration for the Azure Disk pool
         * 
         * @return builder
         * 
         */
        public Builder encryption(EncryptionArgs encryption) {
            return encryption(Output.of(encryption));
        }

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

        /**
         * @param skuName Sku name
         * 
         * @return builder
         * 
         */
        public Builder skuName(Either skuName) {
            return skuName(Output.of(skuName));
        }

        /**
         * @param skuName Sku name
         * 
         * @return builder
         * 
         */
        public Builder skuName(String skuName) {
            return skuName(Either.ofLeft(skuName));
        }

        /**
         * @param skuName Sku name
         * 
         * @return builder
         * 
         */
        public Builder skuName(ElasticSanSkuName skuName) {
            return skuName(Either.ofRight(skuName));
        }

        public ElasticSanArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy