@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.
|
String |
associationId()
[Public NAT gateway only] The association 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) |
String |
failureMessage()
The address failure message.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
isPrimary()
Defines if the IP address is the primary address.
|
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() |
NatGatewayAddressStatus |
status()
The address status.
|
String |
statusAsString()
The address status.
|
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 final String associationId()
[Public NAT gateway only] The association ID of the Elastic IP address that's associated with the NAT gateway.
public final Boolean isPrimary()
Defines if the IP address is the primary address.
public final String failureMessage()
The address failure message.
public final NatGatewayAddressStatus status()
The address status.
If the service returns an enum value that is not available in the current SDK version, status will
return NatGatewayAddressStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
NatGatewayAddressStatuspublic final String statusAsString()
The address status.
If the service returns an enum value that is not available in the current SDK version, status will
return NatGatewayAddressStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
NatGatewayAddressStatuspublic 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.