@Generated(value="OracleSDKGenerator", comments="API Version: 20201005") public final class CreateDatabaseToolsConnectionGenericJdbcDetails extends CreateDatabaseToolsConnectionDetails
Details of the new Database Tools connection for a Generic JDBC database system.
Note: Objects should always be created or deserialized using the CreateDatabaseToolsConnectionGenericJdbcDetails.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 CreateDatabaseToolsConnectionGenericJdbcDetails.Builder
, which maintain a
set of all explicitly set fields called CreateDatabaseToolsConnectionGenericJdbcDetails.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 |
CreateDatabaseToolsConnectionGenericJdbcDetails.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
CreateDatabaseToolsConnectionGenericJdbcDetails(String displayName,
String compartmentId,
Map<String,Map<String,Object>> definedTags,
Map<String,String> freeformTags,
List<ResourceLock> locks,
RuntimeSupport runtimeSupport,
String url,
String userName,
DatabaseToolsUserPasswordDetails userPassword,
Map<String,String> advancedProperties,
List<DatabaseToolsKeyStoreGenericJdbcDetails> keyStores)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CreateDatabaseToolsConnectionGenericJdbcDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Map<String,String> |
getAdvancedProperties()
The advanced connection properties key-value pair.
|
List<DatabaseToolsKeyStoreGenericJdbcDetails> |
getKeyStores()
The CA certificate to verify the server’s certificate and the client private key and
associated certificate required for client authentication.
|
String |
getUrl()
The JDBC URL used to connect to the Generic JDBC database system.
|
String |
getUserName()
The user name.
|
DatabaseToolsUserPasswordDetails |
getUserPassword() |
int |
hashCode() |
CreateDatabaseToolsConnectionGenericJdbcDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getCompartmentId, getDefinedTags, getDisplayName, getFreeformTags, getLocks, getRuntimeSupport
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public CreateDatabaseToolsConnectionGenericJdbcDetails(String displayName, String compartmentId, Map<String,Map<String,Object>> definedTags, Map<String,String> freeformTags, List<ResourceLock> locks, RuntimeSupport runtimeSupport, String url, String userName, DatabaseToolsUserPasswordDetails userPassword, Map<String,String> advancedProperties, List<DatabaseToolsKeyStoreGenericJdbcDetails> keyStores)
public static CreateDatabaseToolsConnectionGenericJdbcDetails.Builder builder()
Create a new builder.
public CreateDatabaseToolsConnectionGenericJdbcDetails.Builder toBuilder()
public String getUrl()
The JDBC URL used to connect to the Generic JDBC database system.
public String getUserName()
The user name.
public DatabaseToolsUserPasswordDetails getUserPassword()
public Map<String,String> getAdvancedProperties()
The advanced connection properties key-value pair.
public List<DatabaseToolsKeyStoreGenericJdbcDetails> getKeyStores()
The CA certificate to verify the server’s certificate and the client private key and associated certificate required for client authentication.
public String toString()
toString
in class CreateDatabaseToolsConnectionDetails
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class CreateDatabaseToolsConnectionDetails
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class CreateDatabaseToolsConnectionDetails
public int hashCode()
hashCode
in class CreateDatabaseToolsConnectionDetails
Copyright © 2016–2024. All rights reserved.