Class DatabaseToolsConnectionOracleDatabase
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.databasetools.model.DatabaseToolsConnection
-
- com.oracle.bmc.databasetools.model.DatabaseToolsConnectionOracleDatabase
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20201005") public final class DatabaseToolsConnectionOracleDatabase extends DatabaseToolsConnectionDatabase Tools connection of an Oracle Database.
Note: Objects should always be created or deserialized using theDatabaseToolsConnectionOracleDatabase.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 theDatabaseToolsConnectionOracleDatabase.Builder, which maintain a set of all explicitly set fields calledDatabaseToolsConnectionOracleDatabase.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 classDatabaseToolsConnectionOracleDatabase.Builder
-
Constructor Summary
Constructors Constructor Description DatabaseToolsConnectionOracleDatabase(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, DatabaseToolsRelatedResource relatedResource, String connectionString, String userName, DatabaseToolsUserPassword userPassword, Map<String,String> advancedProperties, List<DatabaseToolsKeyStore> keyStores, String privateEndpointId, DatabaseToolsConnectionOracleDatabaseProxyClient proxyClient)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DatabaseToolsConnectionOracleDatabase.Builderbuilder()Create a new builder.booleanequals(Object o)Map<String,String>getAdvancedProperties()The advanced connection properties key-value pair (for example, oracle.net.ssl_server_dn_match).StringgetConnectionString()The connect descriptor or Easy Connect Naming method used to connect to the database.List<DatabaseToolsKeyStore>getKeyStores()The Oracle wallet or Java Keystores containing trusted certificates for authenticating the server’s public certificate and the client private key and associated certificates required for client authentication.StringgetPrivateEndpointId()The OCID of the Database Tools private endpoint used to access the database in the customer VCN.DatabaseToolsConnectionOracleDatabaseProxyClientgetProxyClient()DatabaseToolsRelatedResourcegetRelatedResource()StringgetUserName()The database user name.DatabaseToolsUserPasswordgetUserPassword()inthashCode()DatabaseToolsConnectionOracleDatabase.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.-
Methods inherited from class com.oracle.bmc.databasetools.model.DatabaseToolsConnection
getCompartmentId, getDefinedTags, getDisplayName, getFreeformTags, getId, getLifecycleDetails, getLifecycleState, getLocks, getRuntimeSupport, getSystemTags, getTimeCreated, getTimeUpdated
-
-
-
-
Constructor Detail
-
DatabaseToolsConnectionOracleDatabase
@Deprecated public DatabaseToolsConnectionOracleDatabase(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, DatabaseToolsRelatedResource relatedResource, String connectionString, String userName, DatabaseToolsUserPassword userPassword, Map<String,String> advancedProperties, List<DatabaseToolsKeyStore> keyStores, String privateEndpointId, DatabaseToolsConnectionOracleDatabaseProxyClient proxyClient)
Deprecated.
-
-
Method Detail
-
builder
public static DatabaseToolsConnectionOracleDatabase.Builder builder()
Create a new builder.
-
toBuilder
public DatabaseToolsConnectionOracleDatabase.Builder toBuilder()
-
getRelatedResource
public DatabaseToolsRelatedResource getRelatedResource()
-
getConnectionString
public String getConnectionString()
The connect descriptor or Easy Connect Naming method used to connect to the database.- Returns:
- the value
-
getUserName
public String getUserName()
The database user name.- Returns:
- the value
-
getUserPassword
public DatabaseToolsUserPassword getUserPassword()
-
getAdvancedProperties
public Map<String,String> getAdvancedProperties()
The advanced connection properties key-value pair (for example, oracle.net.ssl_server_dn_match).- Returns:
- the value
-
getKeyStores
public List<DatabaseToolsKeyStore> getKeyStores()
The Oracle wallet or Java Keystores containing trusted certificates for authenticating the server’s public certificate and the client private key and associated certificates required for client authentication.- Returns:
- the value
-
getPrivateEndpointId
public String getPrivateEndpointId()
The OCID of the Database Tools private endpoint used to access the database in the customer VCN.- Returns:
- the value
-
getProxyClient
public DatabaseToolsConnectionOracleDatabaseProxyClient getProxyClient()
-
toString
public String toString()
- Overrides:
toStringin classDatabaseToolsConnection
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toStringin classDatabaseToolsConnection- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classDatabaseToolsConnection
-
hashCode
public int hashCode()
- Overrides:
hashCodein classDatabaseToolsConnection
-
-