@Stability(value=Stable) public static final class InstanceEndpointProps.Builder extends Object implements software.amazon.jsii.Builder<InstanceEndpointProps>
InstanceEndpointProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
InstanceEndpointProps |
build()
Builds the configured instance.
|
InstanceEndpointProps.Builder |
preserveClientIp(Boolean preserveClientIp)
Sets the value of
InstanceEndpointProps.getPreserveClientIp() |
InstanceEndpointProps.Builder |
weight(Number weight)
Sets the value of
InstanceEndpointProps.getWeight() |
@Stability(value=Stable) public InstanceEndpointProps.Builder preserveClientIp(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@Stability(value=Stable) public InstanceEndpointProps.Builder weight(Number weight)
InstanceEndpointProps.getWeight()weight - Endpoint weight across all endpoints in the group.
Must be a value between 0 and 255.this@Stability(value=Stable) public InstanceEndpointProps build()
build in interface software.amazon.jsii.Builder<InstanceEndpointProps>InstanceEndpointPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.