
com.pulumi.azurenative.web.outputs.AzureStorageInfoValueResponse Maven / Gradle / Ivy
// *** 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.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 AzureStorageInfoValueResponse {
/**
* @return Access key for the storage account.
*
*/
private @Nullable String accessKey;
/**
* @return Name of the storage account.
*
*/
private @Nullable String accountName;
/**
* @return Path to mount the storage within the site's runtime environment.
*
*/
private @Nullable String mountPath;
/**
* @return Name of the file share (container name, for Blob storage).
*
*/
private @Nullable String shareName;
/**
* @return State of the storage account.
*
*/
private String state;
/**
* @return Type of storage.
*
*/
private @Nullable String type;
private AzureStorageInfoValueResponse() {}
/**
* @return Access key for the storage account.
*
*/
public Optional accessKey() {
return Optional.ofNullable(this.accessKey);
}
/**
* @return Name of the storage account.
*
*/
public Optional accountName() {
return Optional.ofNullable(this.accountName);
}
/**
* @return Path to mount the storage within the site's runtime environment.
*
*/
public Optional mountPath() {
return Optional.ofNullable(this.mountPath);
}
/**
* @return Name of the file share (container name, for Blob storage).
*
*/
public Optional shareName() {
return Optional.ofNullable(this.shareName);
}
/**
* @return State of the storage account.
*
*/
public String state() {
return this.state;
}
/**
* @return Type of storage.
*
*/
public Optional type() {
return Optional.ofNullable(this.type);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AzureStorageInfoValueResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String accessKey;
private @Nullable String accountName;
private @Nullable String mountPath;
private @Nullable String shareName;
private String state;
private @Nullable String type;
public Builder() {}
public Builder(AzureStorageInfoValueResponse defaults) {
Objects.requireNonNull(defaults);
this.accessKey = defaults.accessKey;
this.accountName = defaults.accountName;
this.mountPath = defaults.mountPath;
this.shareName = defaults.shareName;
this.state = defaults.state;
this.type = defaults.type;
}
@CustomType.Setter
public Builder accessKey(@Nullable String accessKey) {
this.accessKey = accessKey;
return this;
}
@CustomType.Setter
public Builder accountName(@Nullable String accountName) {
this.accountName = accountName;
return this;
}
@CustomType.Setter
public Builder mountPath(@Nullable String mountPath) {
this.mountPath = mountPath;
return this;
}
@CustomType.Setter
public Builder shareName(@Nullable String shareName) {
this.shareName = shareName;
return this;
}
@CustomType.Setter
public Builder state(String state) {
if (state == null) {
throw new MissingRequiredPropertyException("AzureStorageInfoValueResponse", "state");
}
this.state = state;
return this;
}
@CustomType.Setter
public Builder type(@Nullable String type) {
this.type = type;
return this;
}
public AzureStorageInfoValueResponse build() {
final var _resultValue = new AzureStorageInfoValueResponse();
_resultValue.accessKey = accessKey;
_resultValue.accountName = accountName;
_resultValue.mountPath = mountPath;
_resultValue.shareName = shareName;
_resultValue.state = state;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy