Class CreateReadEndpointDetails


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20190415")
    public final class CreateReadEndpointDetails
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    Details required to create a Read Endpoint.
    Note: Objects should always be created or deserialized using the CreateReadEndpointDetails.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 CreateReadEndpointDetails.Builder, which maintain a set of all explicitly set fields called CreateReadEndpointDetails.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).
    • Constructor Detail

    • Method Detail

      • 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 class com.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 class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel