@Generated(value="OracleSDKGenerator", comments="API Version: v1") public final class CloudGateExtUpstreamServers extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
A list of upstream servers
Note: Objects should always be created or deserialized using the CloudGateExtUpstreamServers.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 CloudGateExtUpstreamServers.Builder
, which maintain a
set of all explicitly set fields called CloudGateExtUpstreamServers.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 |
CloudGateExtUpstreamServers.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
CloudGateExtUpstreamServers(String value,
String ref,
String hostName,
Integer port,
String nginxSettings,
String groupId,
String displayName)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CloudGateExtUpstreamServers.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getDisplayName()
Display name of upstream server
|
String |
getGroupId()
Upstream Server Group instance for the upstream server.
|
String |
getHostName()
Any incoming request to cloud gate is finally sent to this host, if selected during load
balancing
|
String |
getNginxSettings()
Any additional settings for this upstream server in nginx configuration form
|
Integer |
getPort()
Port for the Upstream Server
|
String |
getRef()
URI of the upstream server
|
String |
getValue()
ID of the upstream server
|
int |
hashCode() |
CloudGateExtUpstreamServers.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"value","ref","hostName","port","nginxSettings","groupId","displayName"}) public CloudGateExtUpstreamServers(String value, String ref, String hostName, Integer port, String nginxSettings, String groupId, String displayName)
public static CloudGateExtUpstreamServers.Builder builder()
Create a new builder.
public CloudGateExtUpstreamServers.Builder toBuilder()
public String getValue()
ID of the upstream server
*Added In:** 20.1.3
*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - mutability: readOnly - required: true - returned: default - type: string - uniqueness: none
public String getRef()
URI of the upstream server
*Added In:** 20.1.3
*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - mutability: readOnly - required: false - returned: default - type: reference - uniqueness: none
public String getHostName()
Any incoming request to cloud gate is finally sent to this host, if selected during load balancing
*Added In:** 20.1.3
*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - mutability: readOnly - required: false - returned: default - type: string - uniqueness: none
public Integer getPort()
Port for the Upstream Server
*Added In:** 20.1.3
*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - mutability: readOnly - required: false - returned: default - type: integer - uniqueness: none
public String getNginxSettings()
Any additional settings for this upstream server in nginx configuration form
*Added In:** 20.1.3
*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - mutability: readOnly - required: false - returned: default - type: string - uniqueness: none
public String getGroupId()
Upstream Server Group instance for the upstream server. This is one of the upstreamServerGroup IDs(upstream blocks) from the associated Cloud Gate list
*Added In:** 20.1.3
*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - mutability: readOnly - required: false - returned: default - type: string - uniqueness: none
public String getDisplayName()
Display name of upstream server
*Added In:** 20.1.3
*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - mutability: readOnly - required: false - returned: default - type: string - uniqueness: none
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.