@Generated(value="OracleSDKGenerator", comments="API Version: 20201005") public final class DatabaseToolsConnectionMySql extends DatabaseToolsConnection
Database Tools connection of a MySQL Server.
Note: Objects should always be created or deserialized using the DatabaseToolsConnectionMySql.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 DatabaseToolsConnectionMySql.Builder
, which maintain a
set of all explicitly set fields called DatabaseToolsConnectionMySql.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 |
DatabaseToolsConnectionMySql.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
DatabaseToolsConnectionMySql(String id,
String displayName,
String compartmentId,
LifecycleState lifecycleState,
String lifecycleDetails,
Date timeCreated,
Date timeUpdated,
Map<String,Map<String,Object>> definedTags,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> systemTags,
List<ResourceLock> locks,
RuntimeSupport runtimeSupport,
DatabaseToolsRelatedResourceMySql relatedResource,
String connectionString,
String userName,
DatabaseToolsUserPassword userPassword,
Map<String,String> advancedProperties,
List<DatabaseToolsKeyStoreMySql> keyStores,
String privateEndpointId)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static DatabaseToolsConnectionMySql.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Map<String,String> |
getAdvancedProperties()
The advanced connection properties key-value pair (for example,
sslMode ). |
String |
getConnectionString()
The connection string used to connect to the MySQL Server.
|
List<DatabaseToolsKeyStoreMySql> |
getKeyStores()
The CA certificate to verify the server’s certificate and the client private key and
associated certificate required for client authentication.
|
String |
getPrivateEndpointId()
The OCID of the
Database Tools private endpoint used to access the database in the customer VCN.
|
DatabaseToolsRelatedResourceMySql |
getRelatedResource() |
String |
getUserName()
The user name.
|
DatabaseToolsUserPassword |
getUserPassword() |
int |
hashCode() |
DatabaseToolsConnectionMySql.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getCompartmentId, getDefinedTags, getDisplayName, getFreeformTags, getId, getLifecycleDetails, getLifecycleState, getLocks, getRuntimeSupport, getSystemTags, getTimeCreated, getTimeUpdated
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public DatabaseToolsConnectionMySql(String id, String displayName, String compartmentId, LifecycleState lifecycleState, String lifecycleDetails, Date timeCreated, Date timeUpdated, Map<String,Map<String,Object>> definedTags, Map<String,String> freeformTags, Map<String,Map<String,Object>> systemTags, List<ResourceLock> locks, RuntimeSupport runtimeSupport, DatabaseToolsRelatedResourceMySql relatedResource, String connectionString, String userName, DatabaseToolsUserPassword userPassword, Map<String,String> advancedProperties, List<DatabaseToolsKeyStoreMySql> keyStores, String privateEndpointId)
public static DatabaseToolsConnectionMySql.Builder builder()
Create a new builder.
public DatabaseToolsConnectionMySql.Builder toBuilder()
public DatabaseToolsRelatedResourceMySql getRelatedResource()
public String getConnectionString()
The connection string used to connect to the MySQL Server.
public String getUserName()
The user name.
public DatabaseToolsUserPassword getUserPassword()
public Map<String,String> getAdvancedProperties()
The advanced connection properties key-value pair (for example, sslMode
).
public List<DatabaseToolsKeyStoreMySql> getKeyStores()
The CA certificate to verify the server’s certificate and the client private key and associated certificate required for client authentication.
public String getPrivateEndpointId()
The OCID of the Database Tools private endpoint used to access the database in the customer VCN.
public String toString()
toString
in class DatabaseToolsConnection
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class DatabaseToolsConnection
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class DatabaseToolsConnection
public int hashCode()
hashCode
in class DatabaseToolsConnection
Copyright © 2016–2024. All rights reserved.