@Generated(value="OracleSDKGenerator", comments="API Version: 20200501") public final class BackendSetSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
BackendSetSummary.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the BackendSetSummary.Builder
, which maintain a
set of all explicitly set fields called BackendSetSummary.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).Modifier and Type | Class and Description |
---|---|
static class |
BackendSetSummary.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
BackendSetSummary(String name,
NetworkLoadBalancingPolicy policy,
Boolean isPreserveSource,
Boolean isFailOpen,
Boolean isInstantFailoverEnabled,
IpVersion ipVersion,
List<Backend> backends,
HealthChecker healthChecker)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static BackendSetSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
List<Backend> |
getBackends()
An array of backends.
|
HealthChecker |
getHealthChecker()
The health check policy configuration.
|
IpVersion |
getIpVersion()
IP version associated with the backend set.
|
Boolean |
getIsFailOpen()
If enabled, the network load balancer will continue to distribute traffic in the configured
distribution in the event all backends are unhealthy.
|
Boolean |
getIsInstantFailoverEnabled()
If enabled existing connections will be forwarded to an alternative healthy backend as soon
as current backend becomes unhealthy.
|
Boolean |
getIsPreserveSource()
If this parameter is enabled, the network load balancer preserves the source IP of the packet
forwarded to the backend servers.
|
String |
getName()
A user-friendly name for the backend set that must be unique and cannot be changed.
|
NetworkLoadBalancingPolicy |
getPolicy()
The network load balancer policy for the backend set.
|
int |
hashCode() |
BackendSetSummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"name","policy","isPreserveSource","isFailOpen","isInstantFailoverEnabled","ipVersion","backends","healthChecker"}) public BackendSetSummary(String name, NetworkLoadBalancingPolicy policy, Boolean isPreserveSource, Boolean isFailOpen, Boolean isInstantFailoverEnabled, IpVersion ipVersion, List<Backend> backends, HealthChecker healthChecker)
public static BackendSetSummary.Builder builder()
Create a new builder.
public BackendSetSummary.Builder toBuilder()
public String getName()
A user-friendly name for the backend set that must be unique and cannot be changed.
Valid backend set names include only alphanumeric characters, dashes, and underscores. Backend set names cannot contain spaces. Avoid entering confidential information.
Example: example_backend_set
public NetworkLoadBalancingPolicy getPolicy()
The network load balancer policy for the backend set.
Example: FIVE_TUPLE
public Boolean getIsPreserveSource()
If this parameter is enabled, the network load balancer preserves the source IP of the packet
forwarded to the backend servers. Backend servers see the original source IP. If the isPreserveSourceDestination
parameter is enabled for the network load balancer resource,
this parameter cannot be disabled. The value is true by default.
public Boolean getIsFailOpen()
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.
public Boolean getIsInstantFailoverEnabled()
If enabled existing connections will be forwarded to an alternative healthy backend as soon as current backend becomes unhealthy.
public IpVersion getIpVersion()
IP version associated with the backend set.
public HealthChecker getHealthChecker()
The health check policy configuration.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.