com.pulumi.azure.netapp.outputs.GetVolumeQuotaRuleResult 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.netapp.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetVolumeQuotaRuleResult {
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
private String id;
/**
* @return The Azure Region where the Volume Quota Rule exists.
*
*/
private String location;
private String name;
/**
* @return The quota size in kibibytes.
*
*/
private Integer quotaSizeInKib;
/**
* @return The quota Target.
*
*/
private String quotaTarget;
/**
* @return The quota type.
*
*/
private String quotaType;
private String volumeId;
private GetVolumeQuotaRuleResult() {}
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
public String id() {
return this.id;
}
/**
* @return The Azure Region where the Volume Quota Rule exists.
*
*/
public String location() {
return this.location;
}
public String name() {
return this.name;
}
/**
* @return The quota size in kibibytes.
*
*/
public Integer quotaSizeInKib() {
return this.quotaSizeInKib;
}
/**
* @return The quota Target.
*
*/
public String quotaTarget() {
return this.quotaTarget;
}
/**
* @return The quota type.
*
*/
public String quotaType() {
return this.quotaType;
}
public String volumeId() {
return this.volumeId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetVolumeQuotaRuleResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String id;
private String location;
private String name;
private Integer quotaSizeInKib;
private String quotaTarget;
private String quotaType;
private String volumeId;
public Builder() {}
public Builder(GetVolumeQuotaRuleResult defaults) {
Objects.requireNonNull(defaults);
this.id = defaults.id;
this.location = defaults.location;
this.name = defaults.name;
this.quotaSizeInKib = defaults.quotaSizeInKib;
this.quotaTarget = defaults.quotaTarget;
this.quotaType = defaults.quotaType;
this.volumeId = defaults.volumeId;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetVolumeQuotaRuleResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder location(String location) {
if (location == null) {
throw new MissingRequiredPropertyException("GetVolumeQuotaRuleResult", "location");
}
this.location = location;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetVolumeQuotaRuleResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder quotaSizeInKib(Integer quotaSizeInKib) {
if (quotaSizeInKib == null) {
throw new MissingRequiredPropertyException("GetVolumeQuotaRuleResult", "quotaSizeInKib");
}
this.quotaSizeInKib = quotaSizeInKib;
return this;
}
@CustomType.Setter
public Builder quotaTarget(String quotaTarget) {
if (quotaTarget == null) {
throw new MissingRequiredPropertyException("GetVolumeQuotaRuleResult", "quotaTarget");
}
this.quotaTarget = quotaTarget;
return this;
}
@CustomType.Setter
public Builder quotaType(String quotaType) {
if (quotaType == null) {
throw new MissingRequiredPropertyException("GetVolumeQuotaRuleResult", "quotaType");
}
this.quotaType = quotaType;
return this;
}
@CustomType.Setter
public Builder volumeId(String volumeId) {
if (volumeId == null) {
throw new MissingRequiredPropertyException("GetVolumeQuotaRuleResult", "volumeId");
}
this.volumeId = volumeId;
return this;
}
public GetVolumeQuotaRuleResult build() {
final var _resultValue = new GetVolumeQuotaRuleResult();
_resultValue.id = id;
_resultValue.location = location;
_resultValue.name = name;
_resultValue.quotaSizeInKib = quotaSizeInKib;
_resultValue.quotaTarget = quotaTarget;
_resultValue.quotaType = quotaType;
_resultValue.volumeId = volumeId;
return _resultValue;
}
}
}