@Generated(value="OracleSDKGenerator", comments="API Version: 20190415") public final class DbSystemEndpoint extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
A particular functional endpoint for access to a DB System, and the properties that apply to it.
Note: Objects should always be created or deserialized using the DbSystemEndpoint.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 DbSystemEndpoint.Builder
, which maintain a
set of all explicitly set fields called DbSystemEndpoint.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 |
DbSystemEndpoint.Builder |
static class |
DbSystemEndpoint.Modes |
static class |
DbSystemEndpoint.ResourceType
The type of endpoint that clients and connectors can connect to.
|
static class |
DbSystemEndpoint.Status
The state of the endpoints, as far as it can seen from the DB System.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
DbSystemEndpoint(String hostname,
String ipAddress,
Integer port,
Integer portX,
List<DbSystemEndpoint.Modes> modes,
DbSystemEndpoint.Status status,
String statusDetails,
DbSystemEndpoint.ResourceType resourceType,
String resourceId)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static DbSystemEndpoint.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getHostname()
The network address of the DB System.
|
String |
getIpAddress()
The IP address the DB System is configured to listen on.
|
List<DbSystemEndpoint.Modes> |
getModes()
The access modes from the client that this endpoint supports.
|
Integer |
getPort()
The port the MySQL instance listens on.
|
Integer |
getPortX()
The network port where to connect to use this endpoint using the X protocol.
|
String |
getResourceId()
The OCID of the resource that this endpoint is attached to.
|
DbSystemEndpoint.ResourceType |
getResourceType()
The type of endpoint that clients and connectors can connect to.
|
DbSystemEndpoint.Status |
getStatus()
The state of the endpoints, as far as it can seen from the DB System.
|
String |
getStatusDetails()
Additional information about the current endpoint status.
|
int |
hashCode() |
DbSystemEndpoint.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"hostname","ipAddress","port","portX","modes","status","statusDetails","resourceType","resourceId"}) public DbSystemEndpoint(String hostname, String ipAddress, Integer port, Integer portX, List<DbSystemEndpoint.Modes> modes, DbSystemEndpoint.Status status, String statusDetails, DbSystemEndpoint.ResourceType resourceType, String resourceId)
public static DbSystemEndpoint.Builder builder()
Create a new builder.
public DbSystemEndpoint.Builder toBuilder()
public String getHostname()
The network address of the DB System.
public String getIpAddress()
The IP address the DB System is configured to listen on.
public Integer getPort()
The port the MySQL instance listens on.
public Integer getPortX()
The network port where to connect to use this endpoint using the X protocol.
public List<DbSystemEndpoint.Modes> getModes()
The access modes from the client that this endpoint supports.
public DbSystemEndpoint.Status getStatus()
The state of the endpoints, as far as it can seen from the DB System. There may be some inconsistency with the actual state of the MySQL service.
public String getStatusDetails()
Additional information about the current endpoint status.
public DbSystemEndpoint.ResourceType getResourceType()
The type of endpoint that clients and connectors can connect to.
public String getResourceId()
The OCID of the resource that this endpoint is attached to.
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.