Class CreatePostgresqlConnectionDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.goldengate.model.CreatePostgresqlConnectionDetails.Builder
 
- 
- Enclosing class:
- CreatePostgresqlConnectionDetails
 
 public static class CreatePostgresqlConnectionDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method Summary
 
- 
- 
- 
Method Detail- 
displayNamepublic CreatePostgresqlConnectionDetails.Builder displayName(String displayName) 
 - 
descriptionpublic CreatePostgresqlConnectionDetails.Builder description(String description) 
 - 
compartmentIdpublic CreatePostgresqlConnectionDetails.Builder compartmentId(String compartmentId) 
 - 
freeformTagspublic CreatePostgresqlConnectionDetails.Builder freeformTags(Map<String,String> freeformTags) 
 - 
definedTagspublic CreatePostgresqlConnectionDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags) 
 - 
lockspublic CreatePostgresqlConnectionDetails.Builder locks(List<AddResourceLockDetails> locks) 
 - 
vaultIdpublic CreatePostgresqlConnectionDetails.Builder vaultId(String vaultId) 
 - 
keyIdpublic CreatePostgresqlConnectionDetails.Builder keyId(String keyId) 
 - 
nsgIdspublic CreatePostgresqlConnectionDetails.Builder nsgIds(List<String> nsgIds) 
 - 
subnetIdpublic CreatePostgresqlConnectionDetails.Builder subnetId(String subnetId) 
 - 
routingMethodpublic CreatePostgresqlConnectionDetails.Builder routingMethod(RoutingMethod routingMethod) 
 - 
doesUseSecretIdspublic CreatePostgresqlConnectionDetails.Builder doesUseSecretIds(Boolean doesUseSecretIds) 
 - 
subscriptionIdpublic CreatePostgresqlConnectionDetails.Builder subscriptionId(String subscriptionId) 
 - 
clusterPlacementGroupIdpublic CreatePostgresqlConnectionDetails.Builder clusterPlacementGroupId(String clusterPlacementGroupId) 
 - 
securityAttributespublic CreatePostgresqlConnectionDetails.Builder securityAttributes(Map<String,Map<String,Object>> securityAttributes) 
 - 
technologyTypepublic CreatePostgresqlConnectionDetails.Builder technologyType(PostgresqlConnection.TechnologyType technologyType) The PostgreSQL technology type.- Parameters:
- technologyType- the value to set
- Returns:
- this builder
 
 - 
databaseNamepublic CreatePostgresqlConnectionDetails.Builder databaseName(String databaseName) The name of the database.- Parameters:
- databaseName- the value to set
- Returns:
- this builder
 
 - 
hostpublic CreatePostgresqlConnectionDetails.Builder host(String host) The name or address of a host.- Parameters:
- host- the value to set
- Returns:
- this builder
 
 - 
portpublic CreatePostgresqlConnectionDetails.Builder port(Integer port) The port of an endpoint usually specified for a connection.- Parameters:
- port- the value to set
- Returns:
- this builder
 
 - 
usernamepublic CreatePostgresqlConnectionDetails.Builder username(String username) The username Oracle GoldenGate uses to connect the associated system of the given technology.This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivty requirments defined in it. - Parameters:
- username- the value to set
- Returns:
- this builder
 
 - 
passwordpublic CreatePostgresqlConnectionDetails.Builder password(String password) The password Oracle GoldenGate uses to connect the associated system of the given technology.It must conform to the specific security requirements including length, case sensitivity, and so on. Deprecated: This field is deprecated and replaced by “passwordSecretId”. This field will be removed after February 15 2026. - Parameters:
- password- the value to set
- Returns:
- this builder
 
 - 
passwordSecretIdpublic CreatePostgresqlConnectionDetails.Builder passwordSecretId(String passwordSecretId) The OCID of the Secret where the password is stored.The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. If secretId is used plaintext field must not be provided. Note: When provided, ‘password’ field must not be provided. - Parameters:
- passwordSecretId- the value to set
- Returns:
- this builder
 
 - 
additionalAttributespublic CreatePostgresqlConnectionDetails.Builder additionalAttributes(List<NameValuePair> additionalAttributes) An array of name-value pair attribute entries.Used as additional parameters in connection string. - Parameters:
- additionalAttributes- the value to set
- Returns:
- this builder
 
 - 
securityProtocolpublic CreatePostgresqlConnectionDetails.Builder securityProtocol(PostgresqlConnection.SecurityProtocol securityProtocol) Security protocol for PostgreSQL.- Parameters:
- securityProtocol- the value to set
- Returns:
- this builder
 
 - 
sslModepublic CreatePostgresqlConnectionDetails.Builder sslMode(PostgresqlConnection.SslMode sslMode) SSL modes for PostgreSQL.- Parameters:
- sslMode- the value to set
- Returns:
- this builder
 
 - 
sslCapublic CreatePostgresqlConnectionDetails.Builder sslCa(String sslCa) The base64 encoded certificate of the trusted certificate authorities (Trusted CA) for PostgreSQL.The supported file formats are .pem and .crt. It is not included in GET responses if the view=COMPACT query parameter is specified. - Parameters:
- sslCa- the value to set
- Returns:
- this builder
 
 - 
sslCrlpublic CreatePostgresqlConnectionDetails.Builder sslCrl(String sslCrl) The base64 encoded list of certificates revoked by the trusted certificate authorities (Trusted CA).It is not included in GET responses if the view=COMPACT query parameter is specified. - Parameters:
- sslCrl- the value to set
- Returns:
- this builder
 
 - 
sslCertpublic CreatePostgresqlConnectionDetails.Builder sslCert(String sslCert) The base64 encoded certificate of the PostgreSQL server.The supported file formats are .pem and .crt. It is not included in GET responses if the view=COMPACT query parameter is specified. - Parameters:
- sslCert- the value to set
- Returns:
- this builder
 
 - 
sslKeypublic CreatePostgresqlConnectionDetails.Builder sslKey(String sslKey) The base64 encoded private key of the PostgreSQL server.The supported file formats are .pem and .crt. Deprecated: This field is deprecated and replaced by “sslKeySecretId”. This field will be removed after February 15 2026. - Parameters:
- sslKey- the value to set
- Returns:
- this builder
 
 - 
sslKeySecretIdpublic CreatePostgresqlConnectionDetails.Builder sslKeySecretId(String sslKeySecretId) The OCID of the Secret that stores the private key of the PostgreSQL server.The supported file formats are .pem and .crt. Note: When provided, ‘sslKey’ field must not be provided. - Parameters:
- sslKeySecretId- the value to set
- Returns:
- this builder
 
 - 
privateIppublic CreatePostgresqlConnectionDetails.Builder privateIp(String privateIp) Deprecated: this field will be removed in future versions.Either specify the private IP in the connectionString or host field, or make sure the host name is resolvable in the target VCN. The private IP address of the connection's endpoint in the customer's VCN, typically a database endpoint or a big data endpoint (e.g. Kafka bootstrap server). In case the privateIp is provided, the subnetId must also be provided. In case the privateIp (and the subnetId) is not provided it is assumed the datasource is publicly accessible. In case the connection is accessible only privately, the lack of privateIp will result in not being able to access the connection. - Parameters:
- privateIp- the value to set
- Returns:
- this builder
 
 - 
dbSystemIdpublic CreatePostgresqlConnectionDetails.Builder dbSystemId(String dbSystemId) The OCID of the database system being referenced.- Parameters:
- dbSystemId- the value to set
- Returns:
- this builder
 
 - 
buildpublic CreatePostgresqlConnectionDetails build() 
 - 
copypublic CreatePostgresqlConnectionDetails.Builder copy(CreatePostgresqlConnectionDetails model) 
 
- 
 
-