public static class UpdateBackendSetDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
UpdateBackendSetDetails.Builder |
areOperationallyActiveBackendsPreferred(Boolean areOperationallyActiveBackendsPreferred)
If enabled, NLB supports active-standby backends.
|
UpdateBackendSetDetails.Builder |
backends(List<BackendDetails> backends)
An array of backends associated with the backend set.
|
UpdateBackendSetDetails |
build() |
UpdateBackendSetDetails.Builder |
copy(UpdateBackendSetDetails model) |
UpdateBackendSetDetails.Builder |
healthChecker(HealthCheckerDetails healthChecker) |
UpdateBackendSetDetails.Builder |
ipVersion(IpVersion ipVersion)
The IP version associated with the backend set.
|
UpdateBackendSetDetails.Builder |
isFailOpen(Boolean isFailOpen)
If enabled, the network load balancer will continue to distribute traffic in the
configured distribution in the event all backends are unhealthy.
|
UpdateBackendSetDetails.Builder |
isInstantFailoverEnabled(Boolean isInstantFailoverEnabled)
If enabled existing connections will be forwarded to an alternative healthy backend as
soon as current backend becomes unhealthy.
|
UpdateBackendSetDetails.Builder |
isInstantFailoverTcpResetEnabled(Boolean isInstantFailoverTcpResetEnabled)
If enabled along with instant failover, the network load balancer will send TCP RST to
the clients for the existing connections instead of failing over to a healthy backend.
|
UpdateBackendSetDetails.Builder |
isPreserveSource(Boolean isPreserveSource)
If this parameter is enabled, then the network load balancer preserves the source IP of
the packet when it is forwarded to backends.
|
UpdateBackendSetDetails.Builder |
policy(String policy)
The network load balancer policy for the backend set.
|
public UpdateBackendSetDetails.Builder policy(String policy)
The network load balancer policy for the backend set. To get a list of available
policies, use the listNetworkLoadBalancersPolicies
operation.
Example: FIVE_TUPLE
policy
- the value to setpublic UpdateBackendSetDetails.Builder isPreserveSource(Boolean isPreserveSource)
If this parameter is enabled, then the network load balancer preserves the source IP of the packet when it is forwarded to backends. Backends see the original source IP. If the isPreserveSourceDestination parameter is enabled for the network load balancer resource, then this parameter cannot be disabled. The value is true by default.
isPreserveSource
- the value to setpublic UpdateBackendSetDetails.Builder isFailOpen(Boolean isFailOpen)
If enabled, the network load balancer will continue to distribute traffic in the configured distribution in the event all backends are unhealthy. The value is false by default.
isFailOpen
- the value to setpublic UpdateBackendSetDetails.Builder isInstantFailoverEnabled(Boolean isInstantFailoverEnabled)
If enabled existing connections will be forwarded to an alternative healthy backend as soon as current backend becomes unhealthy.
isInstantFailoverEnabled
- the value to setpublic UpdateBackendSetDetails.Builder isInstantFailoverTcpResetEnabled(Boolean isInstantFailoverTcpResetEnabled)
If enabled along with instant failover, the network load balancer will send TCP RST to the clients for the existing connections instead of failing over to a healthy backend. This only applies when using the instant failover.
isInstantFailoverTcpResetEnabled
- the value to setpublic UpdateBackendSetDetails.Builder areOperationallyActiveBackendsPreferred(Boolean areOperationallyActiveBackendsPreferred)
If enabled, NLB supports active-standby backends. The standby backend takes over the traffic when the active node fails, and continues to serve the traffic even when the old active node is back healthy.
areOperationallyActiveBackendsPreferred
- the value to setpublic UpdateBackendSetDetails.Builder ipVersion(IpVersion ipVersion)
The IP version associated with the backend set.
ipVersion
- the value to setpublic UpdateBackendSetDetails.Builder backends(List<BackendDetails> backends)
An array of backends associated with the backend set.
backends
- the value to setpublic UpdateBackendSetDetails.Builder healthChecker(HealthCheckerDetails healthChecker)
public UpdateBackendSetDetails build()
public UpdateBackendSetDetails.Builder copy(UpdateBackendSetDetails model)
Copyright © 2016–2025. All rights reserved.