Class DatabaseToolsConnectionPostgresqlSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.databasetools.model.DatabaseToolsConnectionSummary
-
- com.oracle.bmc.databasetools.model.DatabaseToolsConnectionPostgresqlSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20201005") public final class DatabaseToolsConnectionPostgresqlSummary extends DatabaseToolsConnectionSummary
DatabaseToolsConnectionSummary of a PostgreSQL Server.
Note: Objects should always be created or deserialized using theDatabaseToolsConnectionPostgresqlSummary.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 theDatabaseToolsConnectionPostgresqlSummary.Builder
, which maintain a set of all explicitly set fields calledDatabaseToolsConnectionPostgresqlSummary.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 class
DatabaseToolsConnectionPostgresqlSummary.Builder
-
Constructor Summary
Constructors Constructor Description DatabaseToolsConnectionPostgresqlSummary(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, DatabaseToolsRelatedResourcePostgresql relatedResource, String connectionString, String userName, DatabaseToolsUserPasswordSummary userPassword, Map<String,String> advancedProperties, List<DatabaseToolsKeyStorePostgresqlSummary> keyStores, String privateEndpointId)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DatabaseToolsConnectionPostgresqlSummary.Builder
builder()
Create a new builder.boolean
equals(Object o)
Map<String,String>
getAdvancedProperties()
The advanced connection properties key-value pair (e.g., sslMode).String
getConnectionString()
The connection string used to connect to the PostgreSQL Server.List<DatabaseToolsKeyStorePostgresqlSummary>
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 DatabaseToolsPrivateEndpoint used to access the database in the customer VCN.DatabaseToolsRelatedResourcePostgresql
getRelatedResource()
String
getUserName()
The user name.DatabaseToolsUserPasswordSummary
getUserPassword()
int
hashCode()
DatabaseToolsConnectionPostgresqlSummary.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.-
Methods inherited from class com.oracle.bmc.databasetools.model.DatabaseToolsConnectionSummary
getCompartmentId, getDefinedTags, getDisplayName, getFreeformTags, getId, getLifecycleDetails, getLifecycleState, getLocks, getRuntimeSupport, getSystemTags, getTimeCreated, getTimeUpdated
-
-
-
-
Constructor Detail
-
DatabaseToolsConnectionPostgresqlSummary
@Deprecated public DatabaseToolsConnectionPostgresqlSummary(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, DatabaseToolsRelatedResourcePostgresql relatedResource, String connectionString, String userName, DatabaseToolsUserPasswordSummary userPassword, Map<String,String> advancedProperties, List<DatabaseToolsKeyStorePostgresqlSummary> keyStores, String privateEndpointId)
Deprecated.
-
-
Method Detail
-
builder
public static DatabaseToolsConnectionPostgresqlSummary.Builder builder()
Create a new builder.
-
toBuilder
public DatabaseToolsConnectionPostgresqlSummary.Builder toBuilder()
-
getRelatedResource
public DatabaseToolsRelatedResourcePostgresql getRelatedResource()
-
getConnectionString
public String getConnectionString()
The connection string used to connect to the PostgreSQL Server.- Returns:
- the value
-
getUserName
public String getUserName()
The user name.- Returns:
- the value
-
getUserPassword
public DatabaseToolsUserPasswordSummary getUserPassword()
-
getAdvancedProperties
public Map<String,String> getAdvancedProperties()
The advanced connection properties key-value pair (e.g., sslMode).- Returns:
- the value
-
getKeyStores
public List<DatabaseToolsKeyStorePostgresqlSummary> 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
-
getPrivateEndpointId
public String getPrivateEndpointId()
The OCID of the DatabaseToolsPrivateEndpoint used to access the database in the customer VCN.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classDatabaseToolsConnectionSummary
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toString
in classDatabaseToolsConnectionSummary
- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classDatabaseToolsConnectionSummary
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classDatabaseToolsConnectionSummary
-
-