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
  • 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(ListenerProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the ListenerProps.Builder.
  • Method Details

    • getAccelerator

      public final IAccelerator getAccelerator()
      Description copied from interface: ListenerProps
      The accelerator for this listener.
      Specified by:
      getAccelerator in interface ListenerProps
    • 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