Class BackendSetSummary
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.networkloadbalancer.model.BackendSetSummary
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20200501") public final class BackendSetSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelThe configuration of a network load balancer backend set.For more information about backend set configuration, see Backend Sets for Network Load Balancers. *Caution:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. 
 Note: Objects should always be created or deserialized using theBackendSetSummary.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 theBackendSetSummary.Builder, which maintain a set of all explicitly set fields calledBackendSetSummary.Builder.__explicitlySet__. ThehashCode()andequals(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).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classBackendSetSummary.Builder
 - 
Constructor SummaryConstructors Constructor Description BackendSetSummary(String name, NetworkLoadBalancingPolicy policy, Boolean isPreserveSource, Boolean isFailOpen, Boolean isInstantFailoverEnabled, Boolean isInstantFailoverTcpResetEnabled, Boolean areOperationallyActiveBackendsPreferred, IpVersion ipVersion, List<Backend> backends, HealthChecker healthChecker)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BackendSetSummary.Builderbuilder()Create a new builder.booleanequals(Object o)BooleangetAreOperationallyActiveBackendsPreferred()If enabled, NLB supports active-standby backends.List<Backend>getBackends()An array of backends.HealthCheckergetHealthChecker()IpVersiongetIpVersion()IP version associated with the backend set.BooleangetIsFailOpen()If enabled, the network load balancer will continue to distribute traffic in the configured distribution in the event all backends are unhealthy.BooleangetIsInstantFailoverEnabled()If enabled existing connections will be forwarded to an alternative healthy backend as soon as current backend becomes unhealthy.BooleangetIsInstantFailoverTcpResetEnabled()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.BooleangetIsPreserveSource()If this parameter is enabled, the network load balancer preserves the source IP of the packet forwarded to the backend servers.StringgetName()A user-friendly name for the backend set that must be unique and cannot be changed.NetworkLoadBalancingPolicygetPolicy()The network load balancer policy for the backend set.inthashCode()BackendSetSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
BackendSetSummary@Deprecated @ConstructorProperties({"name","policy","isPreserveSource","isFailOpen","isInstantFailoverEnabled","isInstantFailoverTcpResetEnabled","areOperationallyActiveBackendsPreferred","ipVersion","backends","healthChecker"}) public BackendSetSummary(String name, NetworkLoadBalancingPolicy policy, Boolean isPreserveSource, Boolean isFailOpen, Boolean isInstantFailoverEnabled, Boolean isInstantFailoverTcpResetEnabled, Boolean areOperationallyActiveBackendsPreferred, IpVersion ipVersion, List<Backend> backends, HealthChecker healthChecker) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static BackendSetSummary.Builder builder() Create a new builder.
 - 
toBuilderpublic BackendSetSummary.Builder toBuilder() 
 - 
getNamepublic 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 - Returns:
- the value
 
 - 
getPolicypublic NetworkLoadBalancingPolicy getPolicy() The network load balancer policy for the backend set.Example: FIVE_TUPLE - Returns:
- the value
 
 - 
getIsPreserveSourcepublic 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. - Returns:
- the value
 
 - 
getIsFailOpenpublic 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. - Returns:
- the value
 
 - 
getIsInstantFailoverEnabledpublic Boolean getIsInstantFailoverEnabled() If enabled existing connections will be forwarded to an alternative healthy backend as soon as current backend becomes unhealthy.- Returns:
- the value
 
 - 
getIsInstantFailoverTcpResetEnabledpublic Boolean getIsInstantFailoverTcpResetEnabled() 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. By default, TCP RST is enabled. - Returns:
- the value
 
 - 
getAreOperationallyActiveBackendsPreferredpublic Boolean getAreOperationallyActiveBackendsPreferred() 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. - Returns:
- the value
 
 - 
getIpVersionpublic IpVersion getIpVersion() IP version associated with the backend set.- Returns:
- the value
 
 - 
getHealthCheckerpublic HealthChecker getHealthChecker() 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-