public static class BackendSetDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
BackendSetDetails.Builder |
backends(List<Backend> backends)
An array of backends.
|
BackendSetDetails |
build() |
BackendSetDetails.Builder |
copy(BackendSetDetails model) |
BackendSetDetails.Builder |
healthChecker(HealthChecker healthChecker) |
BackendSetDetails.Builder |
ipVersion(IpVersion ipVersion)
IP version associated with the backend set.
|
BackendSetDetails.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.
|
BackendSetDetails.Builder |
isInstantFailoverEnabled(Boolean isInstantFailoverEnabled)
If enabled existing connections will be forwarded to an alternative healthy backend as
soon as current backend becomes unhealthy.
|
BackendSetDetails.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.
|
BackendSetDetails.Builder |
policy(NetworkLoadBalancingPolicy policy)
The network load balancer policy for the backend set.
|
public BackendSetDetails.Builder policy(NetworkLoadBalancingPolicy policy)
The network load balancer policy for the backend set.
Example: FIVE_TUPLE
policy
- the value to setpublic BackendSetDetails.Builder ipVersion(IpVersion ipVersion)
IP version associated with the backend set.
ipVersion
- the value to setpublic BackendSetDetails.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 BackendSetDetails.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 BackendSetDetails.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 BackendSetDetails.Builder backends(List<Backend> backends)
An array of backends.
backends
- the value to setpublic BackendSetDetails.Builder healthChecker(HealthChecker healthChecker)
public BackendSetDetails build()
public BackendSetDetails.Builder copy(BackendSetDetails model)
Copyright © 2016–2024. All rights reserved.