
com.pulumi.azurenative.maps.outputs.CreatorPropertiesResponse 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.maps.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 CreatorPropertiesResponse {
/**
* @return The state of the resource provisioning, terminal states: Succeeded, Failed, Canceled
*
*/
private String provisioningState;
/**
* @return The storage units to be allocated. Integer values from 1 to 100, inclusive.
*
*/
private Integer storageUnits;
private CreatorPropertiesResponse() {}
/**
* @return The state of the resource provisioning, terminal states: Succeeded, Failed, Canceled
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return The storage units to be allocated. Integer values from 1 to 100, inclusive.
*
*/
public Integer storageUnits() {
return this.storageUnits;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(CreatorPropertiesResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String provisioningState;
private Integer storageUnits;
public Builder() {}
public Builder(CreatorPropertiesResponse defaults) {
Objects.requireNonNull(defaults);
this.provisioningState = defaults.provisioningState;
this.storageUnits = defaults.storageUnits;
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("CreatorPropertiesResponse", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder storageUnits(Integer storageUnits) {
if (storageUnits == null) {
throw new MissingRequiredPropertyException("CreatorPropertiesResponse", "storageUnits");
}
this.storageUnits = storageUnits;
return this;
}
public CreatorPropertiesResponse build() {
final var _resultValue = new CreatorPropertiesResponse();
_resultValue.provisioningState = provisioningState;
_resultValue.storageUnits = storageUnits;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy