public static class DatabaseToolsConnectionPostgresql.Builder extends Object
Constructor and Description |
---|
Builder() |
public DatabaseToolsConnectionPostgresql.Builder id(String id)
public DatabaseToolsConnectionPostgresql.Builder displayName(String displayName)
public DatabaseToolsConnectionPostgresql.Builder compartmentId(String compartmentId)
public DatabaseToolsConnectionPostgresql.Builder lifecycleState(LifecycleState lifecycleState)
public DatabaseToolsConnectionPostgresql.Builder lifecycleDetails(String lifecycleDetails)
public DatabaseToolsConnectionPostgresql.Builder timeCreated(Date timeCreated)
public DatabaseToolsConnectionPostgresql.Builder timeUpdated(Date timeUpdated)
public DatabaseToolsConnectionPostgresql.Builder definedTags(Map<String,Map<String,Object>> definedTags)
public DatabaseToolsConnectionPostgresql.Builder freeformTags(Map<String,String> freeformTags)
public DatabaseToolsConnectionPostgresql.Builder systemTags(Map<String,Map<String,Object>> systemTags)
public DatabaseToolsConnectionPostgresql.Builder locks(List<ResourceLock> locks)
public DatabaseToolsConnectionPostgresql.Builder runtimeSupport(RuntimeSupport runtimeSupport)
public DatabaseToolsConnectionPostgresql.Builder relatedResource(DatabaseToolsRelatedResourcePostgresql relatedResource)
public DatabaseToolsConnectionPostgresql.Builder connectionString(String connectionString)
The connection string used to connect to the PostgreSQL Server.
connectionString
- the value to setpublic DatabaseToolsConnectionPostgresql.Builder userName(String userName)
The user name.
userName
- the value to setpublic DatabaseToolsConnectionPostgresql.Builder userPassword(DatabaseToolsUserPassword userPassword)
public DatabaseToolsConnectionPostgresql.Builder advancedProperties(Map<String,String> advancedProperties)
The advanced connection properties key-value pair (for example, sslMode
).
advancedProperties
- the value to setpublic DatabaseToolsConnectionPostgresql.Builder keyStores(List<DatabaseToolsKeyStorePostgresql> keyStores)
The CA certificate to verify the server’s certificate and the client private key and associated certificate required for client authentication.
keyStores
- the value to setpublic DatabaseToolsConnectionPostgresql.Builder privateEndpointId(String privateEndpointId)
The OCID of the Database Tools private endpoint used to access the database in the customer VCN.
privateEndpointId
- the value to setpublic DatabaseToolsConnectionPostgresql build()
public DatabaseToolsConnectionPostgresql.Builder copy(DatabaseToolsConnectionPostgresql model)
Copyright © 2016–2024. All rights reserved.