Interface EndpointIdentifier.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EndpointIdentifier.Builder,
,EndpointIdentifier> SdkBuilder<EndpointIdentifier.Builder,
,EndpointIdentifier> SdkPojo
- Enclosing class:
EndpointIdentifier
-
Method Summary
Modifier and TypeMethodDescriptionclientIPPreservationEnabled
(Boolean clientIPPreservationEnabled) Indicates whether client IP address preservation is enabled for an endpoint.endpointId
(String endpointId) An ID for the endpoint.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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.
-