@Generated(value="OracleSDKGenerator", comments="API Version: 20190415") public final class UpdateReadEndpointDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Read Endpoint details.
Note: Objects should always be created or deserialized using the UpdateReadEndpointDetails.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 UpdateReadEndpointDetails.Builder
, which maintain a
set of all explicitly set fields called UpdateReadEndpointDetails.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 |
UpdateReadEndpointDetails.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
UpdateReadEndpointDetails(Boolean isEnabled,
String readEndpointIpAddress,
String readEndpointHostnameLabel,
List<String> excludeIps)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static UpdateReadEndpointDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
List<String> |
getExcludeIps()
A list of IP addresses of read replicas that are excluded from serving read requests.
|
Boolean |
getIsEnabled()
Specifies if the DB System read endpoint is enabled or not.
|
String |
getReadEndpointHostnameLabel()
The hostname for the read endpoint of the DB System.
|
String |
getReadEndpointIpAddress()
The IP address the DB System read endpoint is configured to listen on.
|
int |
hashCode() |
UpdateReadEndpointDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"isEnabled","readEndpointIpAddress","readEndpointHostnameLabel","excludeIps"}) public UpdateReadEndpointDetails(Boolean isEnabled, String readEndpointIpAddress, String readEndpointHostnameLabel, List<String> excludeIps)
public static UpdateReadEndpointDetails.Builder builder()
Create a new builder.
public UpdateReadEndpointDetails.Builder toBuilder()
public Boolean getIsEnabled()
Specifies if the DB System read endpoint is enabled or not.
public String getReadEndpointIpAddress()
The IP address the DB System read endpoint is configured to listen on. A private IP address of your choice to assign to the read endpoint of the DB System. Must be an available IP address within the subnet’s CIDR. If you don’t specify a value, Oracle automatically assigns a private IP address from the subnet. This should be a “dotted-quad” style IPv4 address.
public String getReadEndpointHostnameLabel()
The hostname for the read endpoint of the DB System. Used for DNS.
The value is the hostname portion of the primary private IP's fully qualified domain name (FQDN) (for example, "dbsystem-1" in FQDN "dbsystem-1.subnet123.vcn1.oraclevcn.com").
Must be unique across all VNICs in the subnet and comply with RFC 952 and RFC 1123.
public List<String> getExcludeIps()
A list of IP addresses of read replicas that are excluded from serving read requests.
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–2025. All rights reserved.