@Stability(value=Stable) @Internal public static final class ListenerOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ListenerOptions
ListenerOptionssoftware.amazon.jsii.JsiiObject.InitializationModeListenerOptions.Builder, ListenerOptions.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(ListenerOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by the
ListenerOptions.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
ClientAffinity |
getClientAffinity()
Client affinity to direct all requests from a user to the same endpoint.
|
String |
getListenerName()
Name of the listener.
|
List<PortRange> |
getPortRanges()
The list of port ranges for the connections from clients to the accelerator.
|
ConnectionProtocol |
getProtocol()
The protocol for the connections from clients to the accelerator.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(ListenerOptions.Builder builder)
ListenerOptions.Builder.public final List<PortRange> getPortRanges()
ListenerOptionsgetPortRanges in interface ListenerOptionspublic final ClientAffinity getClientAffinity()
ListenerOptionsIf you have stateful applications, client affinity lets you direct all requests from a user to the same endpoint.
By default, each connection from each client is routed to seperate endpoints. Set client affinity to SOURCE_IP to route all connections from a single client to the same endpoint.
Default: ClientAffinity.NONE
getClientAffinity in interface ListenerOptionspublic final String getListenerName()
ListenerOptionsDefault: - logical ID of the resource
getListenerName in interface ListenerOptionspublic final ConnectionProtocol getProtocol()
ListenerOptionsDefault: ConnectionProtocol.TCP
getProtocol in interface ListenerOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.