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

com.pulumi.azure.appservice.outputs.WindowsFunctionAppStorageAccount Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
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.azure.appservice.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class WindowsFunctionAppStorageAccount {
    /**
     * @return The Access key for the storage account.
     * 
     */
    private String accessKey;
    /**
     * @return The Name of the Storage Account.
     * 
     */
    private String accountName;
    /**
     * @return The path at which to mount the storage share.
     * 
     */
    private @Nullable String mountPath;
    /**
     * @return The name which should be used for this Storage Account.
     * 
     */
    private String name;
    /**
     * @return The Name of the File Share or Container Name for Blob storage.
     * 
     */
    private String shareName;
    /**
     * @return The Azure Storage Type. Possible values include `AzureFiles`.
     * 
     */
    private String type;

    private WindowsFunctionAppStorageAccount() {}
    /**
     * @return The Access key for the storage account.
     * 
     */
    public String accessKey() {
        return this.accessKey;
    }
    /**
     * @return The Name of the Storage Account.
     * 
     */
    public String accountName() {
        return this.accountName;
    }
    /**
     * @return The path at which to mount the storage share.
     * 
     */
    public Optional mountPath() {
        return Optional.ofNullable(this.mountPath);
    }
    /**
     * @return The name which should be used for this Storage Account.
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return The Name of the File Share or Container Name for Blob storage.
     * 
     */
    public String shareName() {
        return this.shareName;
    }
    /**
     * @return The Azure Storage Type. Possible values include `AzureFiles`.
     * 
     */
    public String type() {
        return this.type;
    }

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

    public static Builder builder(WindowsFunctionAppStorageAccount defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String accessKey;
        private String accountName;
        private @Nullable String mountPath;
        private String name;
        private String shareName;
        private String type;
        public Builder() {}
        public Builder(WindowsFunctionAppStorageAccount defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.accessKey = defaults.accessKey;
    	      this.accountName = defaults.accountName;
    	      this.mountPath = defaults.mountPath;
    	      this.name = defaults.name;
    	      this.shareName = defaults.shareName;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder accessKey(String accessKey) {
            if (accessKey == null) {
              throw new MissingRequiredPropertyException("WindowsFunctionAppStorageAccount", "accessKey");
            }
            this.accessKey = accessKey;
            return this;
        }
        @CustomType.Setter
        public Builder accountName(String accountName) {
            if (accountName == null) {
              throw new MissingRequiredPropertyException("WindowsFunctionAppStorageAccount", "accountName");
            }
            this.accountName = accountName;
            return this;
        }
        @CustomType.Setter
        public Builder mountPath(@Nullable String mountPath) {

            this.mountPath = mountPath;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("WindowsFunctionAppStorageAccount", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder shareName(String shareName) {
            if (shareName == null) {
              throw new MissingRequiredPropertyException("WindowsFunctionAppStorageAccount", "shareName");
            }
            this.shareName = shareName;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("WindowsFunctionAppStorageAccount", "type");
            }
            this.type = type;
            return this;
        }
        public WindowsFunctionAppStorageAccount build() {
            final var _resultValue = new WindowsFunctionAppStorageAccount();
            _resultValue.accessKey = accessKey;
            _resultValue.accountName = accountName;
            _resultValue.mountPath = mountPath;
            _resultValue.name = name;
            _resultValue.shareName = shareName;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy