public static final class ApplicationLoadBalancerEndpoint.Builder
extends java.lang.Object
ApplicationLoadBalancerEndpoint
.Modifier and Type | Method and Description |
---|---|
ApplicationLoadBalancerEndpoint |
build() |
static ApplicationLoadBalancerEndpoint.Builder |
create(IApplicationLoadBalancer loadBalancer) |
ApplicationLoadBalancerEndpoint.Builder |
preserveClientIp(java.lang.Boolean preserveClientIp)
Forward the client IP address in an `X-Forwarded-For` header.
|
ApplicationLoadBalancerEndpoint.Builder |
weight(java.lang.Number weight)
Endpoint weight across all endpoints in the group.
|
public static ApplicationLoadBalancerEndpoint.Builder create(IApplicationLoadBalancer loadBalancer)
loadBalancer
- This parameter is required.ApplicationLoadBalancerEndpoint.Builder
.public ApplicationLoadBalancerEndpoint.Builder preserveClientIp(java.lang.Boolean preserveClientIp)
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: true if available
preserveClientIp
- Forward the client IP address in an `X-Forwarded-For` header. This parameter is required.this
public ApplicationLoadBalancerEndpoint.Builder weight(java.lang.Number weight)
Must be a value between 0 and 255.
Default: 128
weight
- Endpoint weight across all endpoints in the group. This parameter is required.this
public ApplicationLoadBalancerEndpoint build()