
com.pulumi.azurenative.autonomousdevelopmentplatform.outputs.DataPoolLocationResponse 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.autonomousdevelopmentplatform.outputs;
import com.pulumi.azurenative.autonomousdevelopmentplatform.outputs.DataPoolEncryptionResponse;
import com.pulumi.azurenative.autonomousdevelopmentplatform.outputs.StorageSkuResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class DataPoolLocationResponse {
/**
* @return Encryption properties of a Data Pool location
*
*/
private @Nullable DataPoolEncryptionResponse encryption;
/**
* @return The location name
*
*/
private String name;
/**
* @return The amount of storage accounts provisioned per Data Pool. Default: 5
*
*/
private @Nullable Integer storageAccountCount;
/**
* @return The Storage SKU. Default: Standard_ZRS.
*
*/
private @Nullable StorageSkuResponse storageSku;
private DataPoolLocationResponse() {}
/**
* @return Encryption properties of a Data Pool location
*
*/
public Optional encryption() {
return Optional.ofNullable(this.encryption);
}
/**
* @return The location name
*
*/
public String name() {
return this.name;
}
/**
* @return The amount of storage accounts provisioned per Data Pool. Default: 5
*
*/
public Optional storageAccountCount() {
return Optional.ofNullable(this.storageAccountCount);
}
/**
* @return The Storage SKU. Default: Standard_ZRS.
*
*/
public Optional storageSku() {
return Optional.ofNullable(this.storageSku);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(DataPoolLocationResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable DataPoolEncryptionResponse encryption;
private String name;
private @Nullable Integer storageAccountCount;
private @Nullable StorageSkuResponse storageSku;
public Builder() {}
public Builder(DataPoolLocationResponse defaults) {
Objects.requireNonNull(defaults);
this.encryption = defaults.encryption;
this.name = defaults.name;
this.storageAccountCount = defaults.storageAccountCount;
this.storageSku = defaults.storageSku;
}
@CustomType.Setter
public Builder encryption(@Nullable DataPoolEncryptionResponse encryption) {
this.encryption = encryption;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("DataPoolLocationResponse", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder storageAccountCount(@Nullable Integer storageAccountCount) {
this.storageAccountCount = storageAccountCount;
return this;
}
@CustomType.Setter
public Builder storageSku(@Nullable StorageSkuResponse storageSku) {
this.storageSku = storageSku;
return this;
}
public DataPoolLocationResponse build() {
final var _resultValue = new DataPoolLocationResponse();
_resultValue.encryption = encryption;
_resultValue.name = name;
_resultValue.storageAccountCount = storageAccountCount;
_resultValue.storageSku = storageSku;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy