@Generated(value="OracleSDKGenerator", comments="API Version: 20190415") public final class DbSystemEndpoint extends ExplicitlySetBmcModel
A particular functional endpoint for access to a DB System, and the properties that apply to it.
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
ExplicitlySetBmcModel.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
ExplicitlySetBmcModel.__explicitlySet__
into account. The constructor, on the other hand, does not set ExplicitlySetBmcModel.__explicitlySet__
(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.
|
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 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 ExplicitlySetBmcModel
public int hashCode()
hashCode
in class ExplicitlySetBmcModel
Copyright © 2016–2023. All rights reserved.