@Generated(value="OracleSDKGenerator", comments="API Version: 20200501") public final class CreateBackendSetDetails extends ExplicitlySetBmcModel
The configuration details for creating a backend set in a network load balancer. For more information about backend set configuration, see Managing Backend Sets.
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 the CreateBackendSetDetails.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 CreateBackendSetDetails.Builder
, which maintain a set of all explicitly set fields called
ExplicitlySetBmcModel.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
ExplicitlySetBmcModel.__explicitlySet__
into account. The constructor, on the other hand, does not set ExplicitlySetBmcModel.__explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
CreateBackendSetDetails.Builder |
Constructor and Description |
---|
CreateBackendSetDetails(String name,
NetworkLoadBalancingPolicy policy,
Boolean isPreserveSource,
IpVersion ipVersion,
List<BackendDetails> backends,
HealthCheckerDetails healthChecker)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CreateBackendSetDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
List<BackendDetails> |
getBackends()
An array of backends to be associated with the backend set.
|
HealthCheckerDetails |
getHealthChecker() |
IpVersion |
getIpVersion()
IP version associated with the backend set.
|
Boolean |
getIsPreserveSource()
If this parameter is enabled, then the network load balancer preserves the source IP of the packet when it is forwarded to backends.
|
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() |
CreateBackendSetDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"name","policy","isPreserveSource","ipVersion","backends","healthChecker"}) public CreateBackendSetDetails(String name, NetworkLoadBalancingPolicy policy, Boolean isPreserveSource, IpVersion ipVersion, List<BackendDetails> backends, HealthCheckerDetails healthChecker)
public static CreateBackendSetDetails.Builder builder()
Create a new builder.
public CreateBackendSetDetails.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, 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.
public IpVersion getIpVersion()
IP version associated with the backend set.
public List<BackendDetails> getBackends()
An array of backends to be associated with the backend set.
public HealthCheckerDetails getHealthChecker()
public String toString()
toString
in class 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 ExplicitlySetBmcModel
public int hashCode()
hashCode
in class ExplicitlySetBmcModel
Copyright © 2016–2023. All rights reserved.