Package com.oracle.bmc.mysql.model
Class ReadEndpointDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.mysql.model.ReadEndpointDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20190415") public final class ReadEndpointDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The read endpoint of a DB System.
Note: Objects should always be created or deserialized using theReadEndpointDetails.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 theReadEndpointDetails.Builder
, which maintain a set of all explicitly set fields calledReadEndpointDetails.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 Summary
Nested Classes Modifier and Type Class Description static class
ReadEndpointDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReadEndpointDetails.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()
ReadEndpointDetails.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
ReadEndpointDetails
@Deprecated @ConstructorProperties({"isEnabled","readEndpointIpAddress","readEndpointHostnameLabel","excludeIps"}) public ReadEndpointDetails(Boolean isEnabled, String readEndpointIpAddress, String readEndpointHostnameLabel, List<String> excludeIps)
Deprecated.
-
-
Method Detail
-
builder
public static ReadEndpointDetails.Builder builder()
Create a new builder.
-
toBuilder
public ReadEndpointDetails.Builder toBuilder()
-
getIsEnabled
public Boolean getIsEnabled()
Specifies if the DB System read endpoint is enabled or not.- Returns:
- the value
-
getReadEndpointIpAddress
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.
- Returns:
- the value
-
getReadEndpointHostnameLabel
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.
- Returns:
- the value
-
getExcludeIps
public List<String> getExcludeIps()
A list of IP addresses of read replicas that are excluded from serving read requests.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public 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
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-