public static final class RawEndpoint.Builder
extends java.lang.Object
RawEndpoint
.Modifier and Type | Method and Description |
---|---|
RawEndpoint |
build() |
static RawEndpoint.Builder |
create() |
RawEndpoint.Builder |
endpointId(java.lang.String endpointId)
Identifier of the endpoint.
|
RawEndpoint.Builder |
preserveClientIp(java.lang.Boolean preserveClientIp)
Forward the client IP address.
|
RawEndpoint.Builder |
region(java.lang.String region)
The region where this endpoint is located.
|
RawEndpoint.Builder |
weight(java.lang.Number weight)
Endpoint weight across all endpoints in the group.
|
public static RawEndpoint.Builder create()
RawEndpoint.Builder
.public RawEndpoint.Builder endpointId(java.lang.String endpointId)
Load balancer ARN, instance ID or EIP allocation ID.
endpointId
- Identifier of the endpoint. This parameter is required.this
public RawEndpoint.Builder preserveClientIp(java.lang.Boolean preserveClientIp)
GlobalAccelerator will create Network Interfaces in your VPC in order to preserve the client IP address.
Only applies to Application Load Balancers and EC2 instances.
Client IP address preservation is supported only in specific AWS Regions. See the GlobalAccelerator Developer Guide for a list.
Default: true if possible and available
preserveClientIp
- Forward the client IP address. This parameter is required.this
public RawEndpoint.Builder region(java.lang.String region)
Default: - Unknown what region this endpoint is located
region
- The region where this endpoint is located. This parameter is required.this
public RawEndpoint.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 RawEndpoint build()