com.pulumi.azure.appservice.outputs.GetWindowsWebAppStorageAccount Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
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.
// *** 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;
@CustomType
public final class GetWindowsWebAppStorageAccount {
/**
* @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 String mountPath;
/**
* @return The name of this Windows Web App.
*
*/
private String name;
/**
* @return The Name of the File Share.
*
*/
private String shareName;
/**
* @return The Azure Storage Type.
*
*/
private String type;
private GetWindowsWebAppStorageAccount() {}
/**
* @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 String mountPath() {
return this.mountPath;
}
/**
* @return The name of this Windows Web App.
*
*/
public String name() {
return this.name;
}
/**
* @return The Name of the File Share.
*
*/
public String shareName() {
return this.shareName;
}
/**
* @return The Azure Storage Type.
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetWindowsWebAppStorageAccount defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String accessKey;
private String accountName;
private String mountPath;
private String name;
private String shareName;
private String type;
public Builder() {}
public Builder(GetWindowsWebAppStorageAccount 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("GetWindowsWebAppStorageAccount", "accessKey");
}
this.accessKey = accessKey;
return this;
}
@CustomType.Setter
public Builder accountName(String accountName) {
if (accountName == null) {
throw new MissingRequiredPropertyException("GetWindowsWebAppStorageAccount", "accountName");
}
this.accountName = accountName;
return this;
}
@CustomType.Setter
public Builder mountPath(String mountPath) {
if (mountPath == null) {
throw new MissingRequiredPropertyException("GetWindowsWebAppStorageAccount", "mountPath");
}
this.mountPath = mountPath;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetWindowsWebAppStorageAccount", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder shareName(String shareName) {
if (shareName == null) {
throw new MissingRequiredPropertyException("GetWindowsWebAppStorageAccount", "shareName");
}
this.shareName = shareName;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetWindowsWebAppStorageAccount", "type");
}
this.type = type;
return this;
}
public GetWindowsWebAppStorageAccount build() {
final var _resultValue = new GetWindowsWebAppStorageAccount();
_resultValue.accessKey = accessKey;
_resultValue.accountName = accountName;
_resultValue.mountPath = mountPath;
_resultValue.name = name;
_resultValue.shareName = shareName;
_resultValue.type = type;
return _resultValue;
}
}
}