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

com.pulumi.azurenative.storsimple.VolumeContainerArgs 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.storsimple;

import com.pulumi.azurenative.storsimple.enums.Kind;
import com.pulumi.azurenative.storsimple.inputs.AsymmetricEncryptedSecretArgs;
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;


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

    public static final VolumeContainerArgs Empty = new VolumeContainerArgs();

    /**
     * The bandwidth-rate set on the volume container.
     * 
     */
    @Import(name="bandWidthRateInMbps")
    private @Nullable Output bandWidthRateInMbps;

    /**
     * @return The bandwidth-rate set on the volume container.
     * 
     */
    public Optional> bandWidthRateInMbps() {
        return Optional.ofNullable(this.bandWidthRateInMbps);
    }

    /**
     * The ID of the bandwidth setting associated with the volume container.
     * 
     */
    @Import(name="bandwidthSettingId")
    private @Nullable Output bandwidthSettingId;

    /**
     * @return The ID of the bandwidth setting associated with the volume container.
     * 
     */
    public Optional> bandwidthSettingId() {
        return Optional.ofNullable(this.bandwidthSettingId);
    }

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

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

    /**
     * The key used to encrypt data in the volume container. It is required when property 'EncryptionStatus' is "Enabled".
     * 
     */
    @Import(name="encryptionKey")
    private @Nullable Output encryptionKey;

    /**
     * @return The key used to encrypt data in the volume container. It is required when property 'EncryptionStatus' is "Enabled".
     * 
     */
    public Optional> encryptionKey() {
        return Optional.ofNullable(this.encryptionKey);
    }

    /**
     * The Kind of the object. Currently only Series8000 is supported
     * 
     */
    @Import(name="kind")
    private @Nullable Output kind;

    /**
     * @return The Kind of the object. Currently only Series8000 is supported
     * 
     */
    public Optional> kind() {
        return Optional.ofNullable(this.kind);
    }

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

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

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

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

    /**
     * The path ID of storage account associated with the volume container.
     * 
     */
    @Import(name="storageAccountCredentialId", required=true)
    private Output storageAccountCredentialId;

    /**
     * @return The path ID of storage account associated with the volume container.
     * 
     */
    public Output storageAccountCredentialId() {
        return this.storageAccountCredentialId;
    }

    /**
     * The name of the volume container.
     * 
     */
    @Import(name="volumeContainerName")
    private @Nullable Output volumeContainerName;

    /**
     * @return The name of the volume container.
     * 
     */
    public Optional> volumeContainerName() {
        return Optional.ofNullable(this.volumeContainerName);
    }

    private VolumeContainerArgs() {}

    private VolumeContainerArgs(VolumeContainerArgs $) {
        this.bandWidthRateInMbps = $.bandWidthRateInMbps;
        this.bandwidthSettingId = $.bandwidthSettingId;
        this.deviceName = $.deviceName;
        this.encryptionKey = $.encryptionKey;
        this.kind = $.kind;
        this.managerName = $.managerName;
        this.resourceGroupName = $.resourceGroupName;
        this.storageAccountCredentialId = $.storageAccountCredentialId;
        this.volumeContainerName = $.volumeContainerName;
    }

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

    public static final class Builder {
        private VolumeContainerArgs $;

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

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

        /**
         * @param bandWidthRateInMbps The bandwidth-rate set on the volume container.
         * 
         * @return builder
         * 
         */
        public Builder bandWidthRateInMbps(@Nullable Output bandWidthRateInMbps) {
            $.bandWidthRateInMbps = bandWidthRateInMbps;
            return this;
        }

        /**
         * @param bandWidthRateInMbps The bandwidth-rate set on the volume container.
         * 
         * @return builder
         * 
         */
        public Builder bandWidthRateInMbps(Integer bandWidthRateInMbps) {
            return bandWidthRateInMbps(Output.of(bandWidthRateInMbps));
        }

        /**
         * @param bandwidthSettingId The ID of the bandwidth setting associated with the volume container.
         * 
         * @return builder
         * 
         */
        public Builder bandwidthSettingId(@Nullable Output bandwidthSettingId) {
            $.bandwidthSettingId = bandwidthSettingId;
            return this;
        }

        /**
         * @param bandwidthSettingId The ID of the bandwidth setting associated with the volume container.
         * 
         * @return builder
         * 
         */
        public Builder bandwidthSettingId(String bandwidthSettingId) {
            return bandwidthSettingId(Output.of(bandwidthSettingId));
        }

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

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

        /**
         * @param encryptionKey The key used to encrypt data in the volume container. It is required when property 'EncryptionStatus' is "Enabled".
         * 
         * @return builder
         * 
         */
        public Builder encryptionKey(@Nullable Output encryptionKey) {
            $.encryptionKey = encryptionKey;
            return this;
        }

        /**
         * @param encryptionKey The key used to encrypt data in the volume container. It is required when property 'EncryptionStatus' is "Enabled".
         * 
         * @return builder
         * 
         */
        public Builder encryptionKey(AsymmetricEncryptedSecretArgs encryptionKey) {
            return encryptionKey(Output.of(encryptionKey));
        }

        /**
         * @param kind The Kind of the object. Currently only Series8000 is supported
         * 
         * @return builder
         * 
         */
        public Builder kind(@Nullable Output kind) {
            $.kind = kind;
            return this;
        }

        /**
         * @param kind The Kind of the object. Currently only Series8000 is supported
         * 
         * @return builder
         * 
         */
        public Builder kind(Kind kind) {
            return kind(Output.of(kind));
        }

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

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

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

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

        /**
         * @param storageAccountCredentialId The path ID of storage account associated with the volume container.
         * 
         * @return builder
         * 
         */
        public Builder storageAccountCredentialId(Output storageAccountCredentialId) {
            $.storageAccountCredentialId = storageAccountCredentialId;
            return this;
        }

        /**
         * @param storageAccountCredentialId The path ID of storage account associated with the volume container.
         * 
         * @return builder
         * 
         */
        public Builder storageAccountCredentialId(String storageAccountCredentialId) {
            return storageAccountCredentialId(Output.of(storageAccountCredentialId));
        }

        /**
         * @param volumeContainerName The name of the volume container.
         * 
         * @return builder
         * 
         */
        public Builder volumeContainerName(@Nullable Output volumeContainerName) {
            $.volumeContainerName = volumeContainerName;
            return this;
        }

        /**
         * @param volumeContainerName The name of the volume container.
         * 
         * @return builder
         * 
         */
        public Builder volumeContainerName(String volumeContainerName) {
            return volumeContainerName(Output.of(volumeContainerName));
        }

        public VolumeContainerArgs build() {
            if ($.deviceName == null) {
                throw new MissingRequiredPropertyException("VolumeContainerArgs", "deviceName");
            }
            if ($.managerName == null) {
                throw new MissingRequiredPropertyException("VolumeContainerArgs", "managerName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("VolumeContainerArgs", "resourceGroupName");
            }
            if ($.storageAccountCredentialId == null) {
                throw new MissingRequiredPropertyException("VolumeContainerArgs", "storageAccountCredentialId");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy