Class DatabaseToolsConnectionPostgresql
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.databasetools.model.DatabaseToolsConnection
- 
- com.oracle.bmc.databasetools.model.DatabaseToolsConnectionPostgresql
 
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20201005") public final class DatabaseToolsConnectionPostgresql extends DatabaseToolsConnectionDatabase Tools connection of a PostgreSQL Server.
 Note: Objects should always be created or deserialized using theDatabaseToolsConnectionPostgresql.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 theDatabaseToolsConnectionPostgresql.Builder, which maintain a set of all explicitly set fields calledDatabaseToolsConnectionPostgresql.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 SummaryNested Classes Modifier and Type Class Description static classDatabaseToolsConnectionPostgresql.Builder
 - 
Constructor SummaryConstructors Constructor Description DatabaseToolsConnectionPostgresql(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, String runtimeEndpoint, RuntimeIdentity runtimeIdentity, DatabaseToolsRelatedResourcePostgresql relatedResource, String connectionString, String userName, DatabaseToolsUserPassword userPassword, Map<String,String> advancedProperties, List<DatabaseToolsKeyStorePostgresql> keyStores, String privateEndpointId)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DatabaseToolsConnectionPostgresql.Builderbuilder()Create a new builder.booleanequals(Object o)Map<String,String>getAdvancedProperties()The advanced connection properties key-value pair (for example, sslMode).StringgetConnectionString()The connection string used to connect to the PostgreSQL Server.List<DatabaseToolsKeyStorePostgresql>getKeyStores()The CA certificate to verify the server’s certificate and the client private key and associated certificate required for client authentication.StringgetPrivateEndpointId()The OCID of the Database Tools private endpoint used to access the database in the customer VCN.DatabaseToolsRelatedResourcePostgresqlgetRelatedResource()StringgetUserName()The database user name.DatabaseToolsUserPasswordgetUserPassword()inthashCode()DatabaseToolsConnectionPostgresql.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.- 
Methods inherited from class com.oracle.bmc.databasetools.model.DatabaseToolsConnectiongetCompartmentId, getDefinedTags, getDisplayName, getFreeformTags, getId, getLifecycleDetails, getLifecycleState, getLocks, getRuntimeEndpoint, getRuntimeIdentity, getRuntimeSupport, getSystemTags, getTimeCreated, getTimeUpdated
 
- 
 
- 
- 
- 
Constructor Detail- 
DatabaseToolsConnectionPostgresql@Deprecated public DatabaseToolsConnectionPostgresql(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, String runtimeEndpoint, RuntimeIdentity runtimeIdentity, DatabaseToolsRelatedResourcePostgresql relatedResource, String connectionString, String userName, DatabaseToolsUserPassword userPassword, Map<String,String> advancedProperties, List<DatabaseToolsKeyStorePostgresql> keyStores, String privateEndpointId) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static DatabaseToolsConnectionPostgresql.Builder builder() Create a new builder.
 - 
toBuilderpublic DatabaseToolsConnectionPostgresql.Builder toBuilder() 
 - 
getRelatedResourcepublic DatabaseToolsRelatedResourcePostgresql getRelatedResource() 
 - 
getConnectionStringpublic String getConnectionString() The connection string used to connect to the PostgreSQL Server.- Returns:
- the value
 
 - 
getUserNamepublic String getUserName() The database user name.- Returns:
- the value
 
 - 
getUserPasswordpublic DatabaseToolsUserPassword getUserPassword() 
 - 
getAdvancedPropertiespublic Map<String,String> getAdvancedProperties() The advanced connection properties key-value pair (for example, sslMode).- Returns:
- the value
 
 - 
getKeyStorespublic List<DatabaseToolsKeyStorePostgresql> getKeyStores() The CA certificate to verify the server’s certificate and the client private key and associated certificate required for client authentication.- Returns:
- the value
 
 - 
getPrivateEndpointIdpublic String getPrivateEndpointId() The OCID of the Database Tools private endpoint used to access the database in the customer VCN.- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- DatabaseToolsConnection
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Overrides:
- toStringin class- DatabaseToolsConnection
- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- DatabaseToolsConnection
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- DatabaseToolsConnection
 
 
- 
 
-