Class ListenerProps.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.globalaccelerator.ListenerProps.Jsii$Proxy
- All Implemented Interfaces:
ListenerOptions
,ListenerProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
ListenerProps
@Stability(Stable)
@Internal
public static final class ListenerProps.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements ListenerProps
An implementation for
ListenerProps
-
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.ListenerProps
ListenerProps.Builder, ListenerProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(ListenerProps.Builder builder) Constructor that initializes the object based on literal property values passed by theListenerProps.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 IAccelerator
The accelerator for this listener.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 theListenerProps.Builder
.
-
-
Method Details
-
getAccelerator
Description copied from interface:ListenerProps
The accelerator for this listener.- Specified by:
getAccelerator
in interfaceListenerProps
-
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()
-