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

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the ListenerOptions.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 Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    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.
    The protocol for the connections from clients to the accelerator.
    final int
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • 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

      protected Jsii$Proxy(ListenerOptions.Builder builder)
      Constructor that initializes the object based on literal property values passed by the ListenerOptions.Builder.
  • Method Details

    • getPortRanges

      public final List<PortRange> getPortRanges()
      Description copied from interface: ListenerOptions
      The list of port ranges for the connections from clients to the accelerator.
      Specified by:
      getPortRanges in interface ListenerOptions
    • getClientAffinity

      public final ClientAffinity 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 interface ListenerOptions
    • getListenerName

      public final String getListenerName()
      Description copied from interface: ListenerOptions
      Name of the listener.

      Default: - logical ID of the resource

      Specified by:
      getListenerName in interface ListenerOptions
    • getProtocol

      public final ConnectionProtocol getProtocol()
      Description copied from interface: ListenerOptions
      The protocol for the connections from clients to the accelerator.

      Default: ConnectionProtocol.TCP

      Specified by:
      getProtocol in interface ListenerOptions
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object