
com.pulumi.azurenative.azurestackhci.outputs.IPPoolInfoResponse 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.azurestackhci.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class IPPoolInfoResponse {
/**
* @return no. of ip addresses available in the ip pool
*
*/
private String available;
/**
* @return no. of ip addresses allocated from the ip pool
*
*/
private String used;
private IPPoolInfoResponse() {}
/**
* @return no. of ip addresses available in the ip pool
*
*/
public String available() {
return this.available;
}
/**
* @return no. of ip addresses allocated from the ip pool
*
*/
public String used() {
return this.used;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(IPPoolInfoResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String available;
private String used;
public Builder() {}
public Builder(IPPoolInfoResponse defaults) {
Objects.requireNonNull(defaults);
this.available = defaults.available;
this.used = defaults.used;
}
@CustomType.Setter
public Builder available(String available) {
if (available == null) {
throw new MissingRequiredPropertyException("IPPoolInfoResponse", "available");
}
this.available = available;
return this;
}
@CustomType.Setter
public Builder used(String used) {
if (used == null) {
throw new MissingRequiredPropertyException("IPPoolInfoResponse", "used");
}
this.used = used;
return this;
}
public IPPoolInfoResponse build() {
final var _resultValue = new IPPoolInfoResponse();
_resultValue.available = available;
_resultValue.used = used;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy