Interface EndpointIdentifier.Builder

All Superinterfaces:
Buildable, CopyableBuilder<EndpointIdentifier.Builder,EndpointIdentifier>, SdkBuilder<EndpointIdentifier.Builder,EndpointIdentifier>, SdkPojo
Enclosing class:
EndpointIdentifier

public static interface EndpointIdentifier.Builder extends SdkPojo, CopyableBuilder<EndpointIdentifier.Builder,EndpointIdentifier>
  • Method Details

    • endpointId

      EndpointIdentifier.Builder endpointId(String endpointId)

      An ID for the endpoint. If the endpoint is a Network Load Balancer or Application Load Balancer, this is the Amazon Resource Name (ARN) of the resource. If the endpoint is an Elastic IP address, this is the Elastic IP address allocation ID. For Amazon EC2 instances, this is the EC2 instance ID.

      An Application Load Balancer can be either internal or internet-facing.

      Parameters:
      endpointId - An ID for the endpoint. If the endpoint is a Network Load Balancer or Application Load Balancer, this is the Amazon Resource Name (ARN) of the resource. If the endpoint is an Elastic IP address, this is the Elastic IP address allocation ID. For Amazon EC2 instances, this is the EC2 instance ID.

      An Application Load Balancer can be either internal or internet-facing.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientIPPreservationEnabled

      EndpointIdentifier.Builder clientIPPreservationEnabled(Boolean clientIPPreservationEnabled)

      Indicates whether client IP address preservation is enabled for an endpoint. The value is true or false.

      If the value is set to true, the client's IP address is preserved in the X-Forwarded-For request header as traffic travels to applications on the endpoint fronted by the accelerator.

      Parameters:
      clientIPPreservationEnabled - Indicates whether client IP address preservation is enabled for an endpoint. The value is true or false.

      If the value is set to true, the client's IP address is preserved in the X-Forwarded-For request header as traffic travels to applications on the endpoint fronted by the accelerator.

      Returns:
      Returns a reference to this object so that method calls can be chained together.