@Generated(value="software.amazon.awssdk:codegen") public final class DestinationPortMapping extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DestinationPortMapping.Builder,DestinationPortMapping>
The port mappings for a specified endpoint IP address (destination).
| Modifier and Type | Class and Description |
|---|---|
static interface |
DestinationPortMapping.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
acceleratorArn()
The Amazon Resource Name (ARN) of the custom routing accelerator that you have port mappings for.
|
List<SocketAddress> |
acceleratorSocketAddresses()
The IP address/port combinations (sockets) that map to a given destination socket address.
|
static DestinationPortMapping.Builder |
builder() |
SocketAddress |
destinationSocketAddress()
The endpoint IP address/port combination for traffic received on the accelerator socket address.
|
CustomRoutingDestinationTrafficState |
destinationTrafficState()
Indicates whether or not a port mapping destination can receive traffic.
|
String |
destinationTrafficStateAsString()
Indicates whether or not a port mapping destination can receive traffic.
|
String |
endpointGroupArn()
The Amazon Resource Name (ARN) of the endpoint group.
|
String |
endpointGroupRegion()
The AWS Region for the endpoint group.
|
String |
endpointId()
The ID for the virtual private cloud (VPC) subnet.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAcceleratorSocketAddresses()
Returns true if the AcceleratorSocketAddresses property was specified by the sender (it may be empty), or false
if the sender did not specify the value (it will be empty).
|
int |
hashCode() |
IpAddressType |
ipAddressType()
The IP address type, which must be IPv4.
|
String |
ipAddressTypeAsString()
The IP address type, which must be IPv4.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DestinationPortMapping.Builder> |
serializableBuilderClass() |
DestinationPortMapping.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String acceleratorArn()
The Amazon Resource Name (ARN) of the custom routing accelerator that you have port mappings for.
public final boolean hasAcceleratorSocketAddresses()
public final List<SocketAddress> acceleratorSocketAddresses()
The IP address/port combinations (sockets) that map to a given destination socket address.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAcceleratorSocketAddresses() to see if a value was sent in this field.
public final String endpointGroupArn()
The Amazon Resource Name (ARN) of the endpoint group.
public final String endpointId()
The ID for the virtual private cloud (VPC) subnet.
public final String endpointGroupRegion()
The AWS Region for the endpoint group.
public final SocketAddress destinationSocketAddress()
The endpoint IP address/port combination for traffic received on the accelerator socket address.
public final IpAddressType ipAddressType()
The IP address type, which must be IPv4.
If the service returns an enum value that is not available in the current SDK version, ipAddressType
will return IpAddressType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
ipAddressTypeAsString().
IpAddressTypepublic final String ipAddressTypeAsString()
The IP address type, which must be IPv4.
If the service returns an enum value that is not available in the current SDK version, ipAddressType
will return IpAddressType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
ipAddressTypeAsString().
IpAddressTypepublic final CustomRoutingDestinationTrafficState destinationTrafficState()
Indicates whether or not a port mapping destination can receive traffic. The value is either ALLOW, if traffic is allowed to the destination, or DENY, if traffic is not allowed to the destination.
If the service returns an enum value that is not available in the current SDK version,
destinationTrafficState will return CustomRoutingDestinationTrafficState.UNKNOWN_TO_SDK_VERSION.
The raw value returned by the service is available from destinationTrafficStateAsString().
CustomRoutingDestinationTrafficStatepublic final String destinationTrafficStateAsString()
Indicates whether or not a port mapping destination can receive traffic. The value is either ALLOW, if traffic is allowed to the destination, or DENY, if traffic is not allowed to the destination.
If the service returns an enum value that is not available in the current SDK version,
destinationTrafficState will return CustomRoutingDestinationTrafficState.UNKNOWN_TO_SDK_VERSION.
The raw value returned by the service is available from destinationTrafficStateAsString().
CustomRoutingDestinationTrafficStatepublic DestinationPortMapping.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DestinationPortMapping.Builder,DestinationPortMapping>public static DestinationPortMapping.Builder builder()
public static Class<? extends DestinationPortMapping.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.