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

com.pulumi.azurenative.web.inputs.AzureStorageInfoValueArgs 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.web.inputs;

import com.pulumi.azurenative.web.enums.AzureStorageType;
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;


/**
 * Azure Files or Blob Storage access information value for dictionary storage.
 * 
 */
public final class AzureStorageInfoValueArgs extends com.pulumi.resources.ResourceArgs {

    public static final AzureStorageInfoValueArgs Empty = new AzureStorageInfoValueArgs();

    /**
     * Access key for the storage account.
     * 
     */
    @Import(name="accessKey")
    private @Nullable Output accessKey;

    /**
     * @return Access key for the storage account.
     * 
     */
    public Optional> accessKey() {
        return Optional.ofNullable(this.accessKey);
    }

    /**
     * Name of the storage account.
     * 
     */
    @Import(name="accountName")
    private @Nullable Output accountName;

    /**
     * @return Name of the storage account.
     * 
     */
    public Optional> accountName() {
        return Optional.ofNullable(this.accountName);
    }

    /**
     * Path to mount the storage within the site's runtime environment.
     * 
     */
    @Import(name="mountPath")
    private @Nullable Output mountPath;

    /**
     * @return Path to mount the storage within the site's runtime environment.
     * 
     */
    public Optional> mountPath() {
        return Optional.ofNullable(this.mountPath);
    }

    /**
     * Name of the file share (container name, for Blob storage).
     * 
     */
    @Import(name="shareName")
    private @Nullable Output shareName;

    /**
     * @return Name of the file share (container name, for Blob storage).
     * 
     */
    public Optional> shareName() {
        return Optional.ofNullable(this.shareName);
    }

    /**
     * Type of storage.
     * 
     */
    @Import(name="type")
    private @Nullable Output type;

    /**
     * @return Type of storage.
     * 
     */
    public Optional> type() {
        return Optional.ofNullable(this.type);
    }

    private AzureStorageInfoValueArgs() {}

    private AzureStorageInfoValueArgs(AzureStorageInfoValueArgs $) {
        this.accessKey = $.accessKey;
        this.accountName = $.accountName;
        this.mountPath = $.mountPath;
        this.shareName = $.shareName;
        this.type = $.type;
    }

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

    public static final class Builder {
        private AzureStorageInfoValueArgs $;

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

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

        /**
         * @param accessKey Access key for the storage account.
         * 
         * @return builder
         * 
         */
        public Builder accessKey(@Nullable Output accessKey) {
            $.accessKey = accessKey;
            return this;
        }

        /**
         * @param accessKey Access key for the storage account.
         * 
         * @return builder
         * 
         */
        public Builder accessKey(String accessKey) {
            return accessKey(Output.of(accessKey));
        }

        /**
         * @param accountName Name of the storage account.
         * 
         * @return builder
         * 
         */
        public Builder accountName(@Nullable Output accountName) {
            $.accountName = accountName;
            return this;
        }

        /**
         * @param accountName Name of the storage account.
         * 
         * @return builder
         * 
         */
        public Builder accountName(String accountName) {
            return accountName(Output.of(accountName));
        }

        /**
         * @param mountPath Path to mount the storage within the site's runtime environment.
         * 
         * @return builder
         * 
         */
        public Builder mountPath(@Nullable Output mountPath) {
            $.mountPath = mountPath;
            return this;
        }

        /**
         * @param mountPath Path to mount the storage within the site's runtime environment.
         * 
         * @return builder
         * 
         */
        public Builder mountPath(String mountPath) {
            return mountPath(Output.of(mountPath));
        }

        /**
         * @param shareName Name of the file share (container name, for Blob storage).
         * 
         * @return builder
         * 
         */
        public Builder shareName(@Nullable Output shareName) {
            $.shareName = shareName;
            return this;
        }

        /**
         * @param shareName Name of the file share (container name, for Blob storage).
         * 
         * @return builder
         * 
         */
        public Builder shareName(String shareName) {
            return shareName(Output.of(shareName));
        }

        /**
         * @param type Type of storage.
         * 
         * @return builder
         * 
         */
        public Builder type(@Nullable Output type) {
            $.type = type;
            return this;
        }

        /**
         * @param type Type of storage.
         * 
         * @return builder
         * 
         */
        public Builder type(AzureStorageType type) {
            return type(Output.of(type));
        }

        public AzureStorageInfoValueArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy