@Generated(value="software.amazon.awssdk:codegen") public final class NatGatewayAddress extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NatGatewayAddress.Builder,NatGatewayAddress>
Describes the IP addresses and network interface associated with a NAT gateway.
| Modifier and Type | Class and Description |
|---|---|
static interface |
NatGatewayAddress.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
allocationId()
[Public NAT gateway only] The allocation ID of the Elastic IP address that's associated with the NAT gateway.
|
static NatGatewayAddress.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
networkInterfaceId()
The ID of the network interface associated with the NAT gateway.
|
String |
privateIp()
The private IP address associated with the NAT gateway.
|
String |
publicIp()
[Public NAT gateway only] The Elastic IP address associated with the NAT gateway.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends NatGatewayAddress.Builder> |
serializableBuilderClass() |
NatGatewayAddress.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String allocationId()
[Public NAT gateway only] The allocation ID of the Elastic IP address that's associated with the NAT gateway.
public final String networkInterfaceId()
The ID of the network interface associated with the NAT gateway.
public final String privateIp()
The private IP address associated with the NAT gateway.
public final String publicIp()
[Public NAT gateway only] The Elastic IP address associated with the NAT gateway.
public NatGatewayAddress.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<NatGatewayAddress.Builder,NatGatewayAddress>public static NatGatewayAddress.Builder builder()
public static Class<? extends NatGatewayAddress.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.