@Generated(value="software.amazon.awssdk:codegen") public final class PortOverride extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PortOverride.Builder,PortOverride>
Override specific listener ports used to route traffic to endpoints that are part of an endpoint group. For example, you can create a port override in which the listener receives user traffic on ports 80 and 443, but your accelerator routes that traffic to ports 1080 and 1443, respectively, on the endpoints.
For more information, see Overriding listener ports in the Global Accelerator Developer Guide.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PortOverride.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PortOverride.Builder |
builder() |
Integer |
endpointPort()
The endpoint port that you want a listener port to be mapped to.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
listenerPort()
The listener port that you want to map to a specific endpoint port.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PortOverride.Builder> |
serializableBuilderClass() |
PortOverride.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Integer listenerPort()
The listener port that you want to map to a specific endpoint port. This is the port that user traffic arrives to the Global Accelerator on.
public final Integer endpointPort()
The endpoint port that you want a listener port to be mapped to. This is the port on the endpoint, such as the Application Load Balancer or Amazon EC2 instance.
public PortOverride.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PortOverride.Builder,PortOverride>public static PortOverride.Builder builder()
public static Class<? extends PortOverride.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.