
com.pulumi.azurenative.appplatform.outputs.StorageAccountResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.appplatform.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class StorageAccountResponse {
/**
* @return The account name of the Azure Storage Account.
*
*/
private String accountName;
/**
* @return The type of the storage.
* Expected value is 'StorageAccount'.
*
*/
private String storageType;
private StorageAccountResponse() {}
/**
* @return The account name of the Azure Storage Account.
*
*/
public String accountName() {
return this.accountName;
}
/**
* @return The type of the storage.
* Expected value is 'StorageAccount'.
*
*/
public String storageType() {
return this.storageType;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(StorageAccountResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String accountName;
private String storageType;
public Builder() {}
public Builder(StorageAccountResponse defaults) {
Objects.requireNonNull(defaults);
this.accountName = defaults.accountName;
this.storageType = defaults.storageType;
}
@CustomType.Setter
public Builder accountName(String accountName) {
if (accountName == null) {
throw new MissingRequiredPropertyException("StorageAccountResponse", "accountName");
}
this.accountName = accountName;
return this;
}
@CustomType.Setter
public Builder storageType(String storageType) {
if (storageType == null) {
throw new MissingRequiredPropertyException("StorageAccountResponse", "storageType");
}
this.storageType = storageType;
return this;
}
public StorageAccountResponse build() {
final var _resultValue = new StorageAccountResponse();
_resultValue.accountName = accountName;
_resultValue.storageType = storageType;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy