
com.pulumi.azurenative.awsconnector.outputs.SubnetMappingResponse Maven / Gradle / Ivy
// *** 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.awsconnector.outputs;
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 SubnetMappingResponse {
/**
* @return [Network Load Balancers] The allocation ID of the Elastic IP address for an internet-facing load balancer.
*
*/
private @Nullable String allocationId;
/**
* @return [Network Load Balancers] The IPv6 address.
*
*/
private @Nullable String iPv6Address;
/**
* @return A IPAddressType
*
*/
private @Nullable String ipAddressType;
/**
* @return [Network Load Balancers] The private IPv4 address for an internal load balancer.
*
*/
private @Nullable String privateIPv4Address;
/**
* @return A SubnetId.
*
*/
private @Nullable String subnetId;
private SubnetMappingResponse() {}
/**
* @return [Network Load Balancers] The allocation ID of the Elastic IP address for an internet-facing load balancer.
*
*/
public Optional allocationId() {
return Optional.ofNullable(this.allocationId);
}
/**
* @return [Network Load Balancers] The IPv6 address.
*
*/
public Optional iPv6Address() {
return Optional.ofNullable(this.iPv6Address);
}
/**
* @return A IPAddressType
*
*/
public Optional ipAddressType() {
return Optional.ofNullable(this.ipAddressType);
}
/**
* @return [Network Load Balancers] The private IPv4 address for an internal load balancer.
*
*/
public Optional privateIPv4Address() {
return Optional.ofNullable(this.privateIPv4Address);
}
/**
* @return A SubnetId.
*
*/
public Optional subnetId() {
return Optional.ofNullable(this.subnetId);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SubnetMappingResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String allocationId;
private @Nullable String iPv6Address;
private @Nullable String ipAddressType;
private @Nullable String privateIPv4Address;
private @Nullable String subnetId;
public Builder() {}
public Builder(SubnetMappingResponse defaults) {
Objects.requireNonNull(defaults);
this.allocationId = defaults.allocationId;
this.iPv6Address = defaults.iPv6Address;
this.ipAddressType = defaults.ipAddressType;
this.privateIPv4Address = defaults.privateIPv4Address;
this.subnetId = defaults.subnetId;
}
@CustomType.Setter
public Builder allocationId(@Nullable String allocationId) {
this.allocationId = allocationId;
return this;
}
@CustomType.Setter
public Builder iPv6Address(@Nullable String iPv6Address) {
this.iPv6Address = iPv6Address;
return this;
}
@CustomType.Setter
public Builder ipAddressType(@Nullable String ipAddressType) {
this.ipAddressType = ipAddressType;
return this;
}
@CustomType.Setter
public Builder privateIPv4Address(@Nullable String privateIPv4Address) {
this.privateIPv4Address = privateIPv4Address;
return this;
}
@CustomType.Setter
public Builder subnetId(@Nullable String subnetId) {
this.subnetId = subnetId;
return this;
}
public SubnetMappingResponse build() {
final var _resultValue = new SubnetMappingResponse();
_resultValue.allocationId = allocationId;
_resultValue.iPv6Address = iPv6Address;
_resultValue.ipAddressType = ipAddressType;
_resultValue.privateIPv4Address = privateIPv4Address;
_resultValue.subnetId = subnetId;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy