Class NetworkLoadBalancerEndpointProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.globalaccelerator.endpoints.NetworkLoadBalancerEndpointProps.Jsii$Proxy
All Implemented Interfaces:
NetworkLoadBalancerEndpointProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
NetworkLoadBalancerEndpointProps

@Stability(Stable) @Internal public static final class NetworkLoadBalancerEndpointProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements NetworkLoadBalancerEndpointProps
An implementation for NetworkLoadBalancerEndpointProps
  • 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(NetworkLoadBalancerEndpointProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the NetworkLoadBalancerEndpointProps.Builder.
  • Method Details

    • getPreserveClientIp

      public final Boolean getPreserveClientIp()
      Description copied from interface: NetworkLoadBalancerEndpointProps
      Forward the client IP address in an X-Forwarded-For header.

      GlobalAccelerator will create Network Interfaces in your VPC in order to preserve the client IP address.

      Client IP address preservation is supported only in specific AWS Regions. See the GlobalAccelerator Developer Guide for a list.

      Default: false

      Specified by:
      getPreserveClientIp in interface NetworkLoadBalancerEndpointProps
    • getWeight

      public final Number getWeight()
      Description copied from interface: NetworkLoadBalancerEndpointProps
      Endpoint weight across all endpoints in the group.

      Must be a value between 0 and 255.

      Default: 128

      Specified by:
      getWeight in interface NetworkLoadBalancerEndpointProps
    • $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