com.pulumi.azurenative.containerstorage.outputs.ElasticSanResponse 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.containerstorage.outputs;
import com.pulumi.azurenative.containerstorage.outputs.EncryptionResponse;
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 ElasticSanResponse {
/**
* @return Encryption specifies the encryption configuration for the Azure Disk pool
*
*/
private @Nullable EncryptionResponse encryption;
/**
* @return Managed resource group for the pool.
*
*/
private String resourceGroup;
/**
* @return Sku name
*
*/
private @Nullable String skuName;
private ElasticSanResponse() {}
/**
* @return Encryption specifies the encryption configuration for the Azure Disk pool
*
*/
public Optional encryption() {
return Optional.ofNullable(this.encryption);
}
/**
* @return Managed resource group for the pool.
*
*/
public String resourceGroup() {
return this.resourceGroup;
}
/**
* @return Sku name
*
*/
public Optional skuName() {
return Optional.ofNullable(this.skuName);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ElasticSanResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable EncryptionResponse encryption;
private String resourceGroup;
private @Nullable String skuName;
public Builder() {}
public Builder(ElasticSanResponse defaults) {
Objects.requireNonNull(defaults);
this.encryption = defaults.encryption;
this.resourceGroup = defaults.resourceGroup;
this.skuName = defaults.skuName;
}
@CustomType.Setter
public Builder encryption(@Nullable EncryptionResponse encryption) {
this.encryption = encryption;
return this;
}
@CustomType.Setter
public Builder resourceGroup(String resourceGroup) {
if (resourceGroup == null) {
throw new MissingRequiredPropertyException("ElasticSanResponse", "resourceGroup");
}
this.resourceGroup = resourceGroup;
return this;
}
@CustomType.Setter
public Builder skuName(@Nullable String skuName) {
this.skuName = skuName;
return this;
}
public ElasticSanResponse build() {
final var _resultValue = new ElasticSanResponse();
_resultValue.encryption = encryption;
_resultValue.resourceGroup = resourceGroup;
_resultValue.skuName = skuName;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy