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

com.pulumi.azurenative.portal.inputs.StorageProfileArgs 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.portal.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * The storage profile of the user settings.
 * 
 */
public final class StorageProfileArgs extends com.pulumi.resources.ResourceArgs {

    public static final StorageProfileArgs Empty = new StorageProfileArgs();

    /**
     * Size of file share
     * 
     */
    @Import(name="diskSizeInGB")
    private @Nullable Output diskSizeInGB;

    /**
     * @return Size of file share
     * 
     */
    public Optional> diskSizeInGB() {
        return Optional.ofNullable(this.diskSizeInGB);
    }

    /**
     * Name of the mounted file share. 63 characters or less, lowercase alphabet, numbers, and -
     * 
     */
    @Import(name="fileShareName")
    private @Nullable Output fileShareName;

    /**
     * @return Name of the mounted file share. 63 characters or less, lowercase alphabet, numbers, and -
     * 
     */
    public Optional> fileShareName() {
        return Optional.ofNullable(this.fileShareName);
    }

    /**
     * Full resource ID of storage account.
     * 
     */
    @Import(name="storageAccountResourceId")
    private @Nullable Output storageAccountResourceId;

    /**
     * @return Full resource ID of storage account.
     * 
     */
    public Optional> storageAccountResourceId() {
        return Optional.ofNullable(this.storageAccountResourceId);
    }

    private StorageProfileArgs() {}

    private StorageProfileArgs(StorageProfileArgs $) {
        this.diskSizeInGB = $.diskSizeInGB;
        this.fileShareName = $.fileShareName;
        this.storageAccountResourceId = $.storageAccountResourceId;
    }

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

    public static final class Builder {
        private StorageProfileArgs $;

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

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

        /**
         * @param diskSizeInGB Size of file share
         * 
         * @return builder
         * 
         */
        public Builder diskSizeInGB(@Nullable Output diskSizeInGB) {
            $.diskSizeInGB = diskSizeInGB;
            return this;
        }

        /**
         * @param diskSizeInGB Size of file share
         * 
         * @return builder
         * 
         */
        public Builder diskSizeInGB(Integer diskSizeInGB) {
            return diskSizeInGB(Output.of(diskSizeInGB));
        }

        /**
         * @param fileShareName Name of the mounted file share. 63 characters or less, lowercase alphabet, numbers, and -
         * 
         * @return builder
         * 
         */
        public Builder fileShareName(@Nullable Output fileShareName) {
            $.fileShareName = fileShareName;
            return this;
        }

        /**
         * @param fileShareName Name of the mounted file share. 63 characters or less, lowercase alphabet, numbers, and -
         * 
         * @return builder
         * 
         */
        public Builder fileShareName(String fileShareName) {
            return fileShareName(Output.of(fileShareName));
        }

        /**
         * @param storageAccountResourceId Full resource ID of storage account.
         * 
         * @return builder
         * 
         */
        public Builder storageAccountResourceId(@Nullable Output storageAccountResourceId) {
            $.storageAccountResourceId = storageAccountResourceId;
            return this;
        }

        /**
         * @param storageAccountResourceId Full resource ID of storage account.
         * 
         * @return builder
         * 
         */
        public Builder storageAccountResourceId(String storageAccountResourceId) {
            return storageAccountResourceId(Output.of(storageAccountResourceId));
        }

        public StorageProfileArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy