Class ListenerOptions.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.globalaccelerator.ListenerOptions.Jsii$Proxy
- All Implemented Interfaces:
ListenerOptions
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
ListenerOptions
@Stability(Stable)
@Internal
public static final class ListenerOptions.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements ListenerOptions
An implementation for
ListenerOptions
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.globalaccelerator.ListenerOptions
ListenerOptions.Builder, ListenerOptions.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(ListenerOptions.Builder builder) Constructor that initializes the object based on literal property values passed by theListenerOptions.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final ClientAffinity
Client affinity to direct all requests from a user to the same endpoint.final String
Name of the listener.The list of port ranges for the connections from clients to the accelerator.final ConnectionProtocol
The protocol for the connections from clients to the accelerator.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theListenerOptions.Builder
.
-
-
Method Details
-
getPortRanges
Description copied from interface:ListenerOptions
The list of port ranges for the connections from clients to the accelerator.- Specified by:
getPortRanges
in interfaceListenerOptions
-
getClientAffinity
Description copied from interface:ListenerOptions
Client affinity to direct all requests from a user to the same endpoint.If 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
- Specified by:
getClientAffinity
in interfaceListenerOptions
-
getListenerName
Description copied from interface:ListenerOptions
Name of the listener.Default: - logical ID of the resource
- Specified by:
getListenerName
in interfaceListenerOptions
-
getProtocol
Description copied from interface:ListenerOptions
The protocol for the connections from clients to the accelerator.Default: ConnectionProtocol.TCP
- Specified by:
getProtocol
in interfaceListenerOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-