com.pulumi.azurenative.azurestackhci.outputs.IPPoolResponse 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.azurenative.azurestackhci.outputs.IPPoolInfoResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class IPPoolResponse {
/**
* @return end of the ip address pool
*
*/
private @Nullable String end;
private @Nullable IPPoolInfoResponse info;
/**
* @return ip pool type
*
*/
private @Nullable String ipPoolType;
/**
* @return Name of the IP-Pool
*
*/
private @Nullable String name;
/**
* @return start of the ip address pool
*
*/
private @Nullable String start;
private IPPoolResponse() {}
/**
* @return end of the ip address pool
*
*/
public Optional end() {
return Optional.ofNullable(this.end);
}
public Optional info() {
return Optional.ofNullable(this.info);
}
/**
* @return ip pool type
*
*/
public Optional ipPoolType() {
return Optional.ofNullable(this.ipPoolType);
}
/**
* @return Name of the IP-Pool
*
*/
public Optional name() {
return Optional.ofNullable(this.name);
}
/**
* @return start of the ip address pool
*
*/
public Optional start() {
return Optional.ofNullable(this.start);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(IPPoolResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String end;
private @Nullable IPPoolInfoResponse info;
private @Nullable String ipPoolType;
private @Nullable String name;
private @Nullable String start;
public Builder() {}
public Builder(IPPoolResponse defaults) {
Objects.requireNonNull(defaults);
this.end = defaults.end;
this.info = defaults.info;
this.ipPoolType = defaults.ipPoolType;
this.name = defaults.name;
this.start = defaults.start;
}
@CustomType.Setter
public Builder end(@Nullable String end) {
this.end = end;
return this;
}
@CustomType.Setter
public Builder info(@Nullable IPPoolInfoResponse info) {
this.info = info;
return this;
}
@CustomType.Setter
public Builder ipPoolType(@Nullable String ipPoolType) {
this.ipPoolType = ipPoolType;
return this;
}
@CustomType.Setter
public Builder name(@Nullable String name) {
this.name = name;
return this;
}
@CustomType.Setter
public Builder start(@Nullable String start) {
this.start = start;
return this;
}
public IPPoolResponse build() {
final var _resultValue = new IPPoolResponse();
_resultValue.end = end;
_resultValue.info = info;
_resultValue.ipPoolType = ipPoolType;
_resultValue.name = name;
_resultValue.start = start;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy