public static final class InstanceEndpointProps.Builder
extends java.lang.Object
InstanceEndpointProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
InstanceEndpointProps |
build()
Builds the configured instance.
|
InstanceEndpointProps.Builder |
preserveClientIp(java.lang.Boolean preserveClientIp)
Sets the value of
InstanceEndpointProps.getPreserveClientIp() |
InstanceEndpointProps.Builder |
weight(java.lang.Number weight)
Sets the value of
InstanceEndpointProps.getWeight() |
public InstanceEndpointProps.Builder preserveClientIp(java.lang.Boolean preserveClientIp)
InstanceEndpointProps.getPreserveClientIp()
preserveClientIp
- Forward the client IP address.
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.
this
public InstanceEndpointProps.Builder weight(java.lang.Number weight)
InstanceEndpointProps.getWeight()
weight
- Endpoint weight across all endpoints in the group.
Must be a value between 0 and 255.this
public InstanceEndpointProps build()
InstanceEndpointProps
java.lang.NullPointerException
- if any required attribute was not provided