Package com.oracle.bmc.goldengate.model
Class UpdateDb2ConnectionDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.goldengate.model.UpdateDb2ConnectionDetails.Builder
-
- Enclosing class:
- UpdateDb2ConnectionDetails
public static class UpdateDb2ConnectionDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateDb2ConnectionDetails.Builder
additionalAttributes(List<NameValuePair> additionalAttributes)
An array of name-value pair attribute entries.UpdateDb2ConnectionDetails
build()
UpdateDb2ConnectionDetails.Builder
copy(UpdateDb2ConnectionDetails model)
UpdateDb2ConnectionDetails.Builder
databaseName(String databaseName)
The name of the database.UpdateDb2ConnectionDetails.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
UpdateDb2ConnectionDetails.Builder
description(String description)
UpdateDb2ConnectionDetails.Builder
displayName(String displayName)
UpdateDb2ConnectionDetails.Builder
doesUseSecretIds(Boolean doesUseSecretIds)
UpdateDb2ConnectionDetails.Builder
freeformTags(Map<String,String> freeformTags)
UpdateDb2ConnectionDetails.Builder
host(String host)
The name or address of a host.UpdateDb2ConnectionDetails.Builder
keyId(String keyId)
UpdateDb2ConnectionDetails.Builder
nsgIds(List<String> nsgIds)
UpdateDb2ConnectionDetails.Builder
password(String password)
The password Oracle GoldenGate uses to connect the associated DB2 database.UpdateDb2ConnectionDetails.Builder
passwordSecretId(String passwordSecretId)
The OCID of the Secret where the password is stored, that Oracle GoldenGate uses to connect the associated DB2 database.UpdateDb2ConnectionDetails.Builder
port(Integer port)
The port of an endpoint usually specified for a connection.UpdateDb2ConnectionDetails.Builder
routingMethod(RoutingMethod routingMethod)
UpdateDb2ConnectionDetails.Builder
securityProtocol(Db2Connection.SecurityProtocol securityProtocol)
Security protocol for the DB2 database.UpdateDb2ConnectionDetails.Builder
sslClientKeystash(String sslClientKeystash)
The base64 encoded keystash file which contains the encrypted password to the key database file.UpdateDb2ConnectionDetails.Builder
sslClientKeystashSecretId(String sslClientKeystashSecretId)
The OCID of the Secret where the keystash file is stored, which contains the encrypted password to the key database file.UpdateDb2ConnectionDetails.Builder
sslClientKeystoredb(String sslClientKeystoredb)
The base64 encoded keystore file created at the client containing the server certificate / CA root certificate.UpdateDb2ConnectionDetails.Builder
sslClientKeystoredbSecretId(String sslClientKeystoredbSecretId)
The OCID of the Secret where the keystore file stored, which created at the client containing the server certificate / CA root certificate.UpdateDb2ConnectionDetails.Builder
sslServerCertificate(String sslServerCertificate)
The base64 encoded file which contains the self-signed server certificate / Certificate Authority (CA) certificate.UpdateDb2ConnectionDetails.Builder
subnetId(String subnetId)
UpdateDb2ConnectionDetails.Builder
username(String username)
The username Oracle GoldenGate uses to connect to the DB2 database.UpdateDb2ConnectionDetails.Builder
vaultId(String vaultId)
-
-
-
Method Detail
-
displayName
public UpdateDb2ConnectionDetails.Builder displayName(String displayName)
-
description
public UpdateDb2ConnectionDetails.Builder description(String description)
-
freeformTags
public UpdateDb2ConnectionDetails.Builder freeformTags(Map<String,String> freeformTags)
-
definedTags
public UpdateDb2ConnectionDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
-
vaultId
public UpdateDb2ConnectionDetails.Builder vaultId(String vaultId)
-
keyId
public UpdateDb2ConnectionDetails.Builder keyId(String keyId)
-
nsgIds
public UpdateDb2ConnectionDetails.Builder nsgIds(List<String> nsgIds)
-
subnetId
public UpdateDb2ConnectionDetails.Builder subnetId(String subnetId)
-
routingMethod
public UpdateDb2ConnectionDetails.Builder routingMethod(RoutingMethod routingMethod)
-
doesUseSecretIds
public UpdateDb2ConnectionDetails.Builder doesUseSecretIds(Boolean doesUseSecretIds)
-
databaseName
public UpdateDb2ConnectionDetails.Builder databaseName(String databaseName)
The name of the database.- Parameters:
databaseName
- the value to set- Returns:
- this builder
-
host
public UpdateDb2ConnectionDetails.Builder host(String host)
The name or address of a host.- Parameters:
host
- the value to set- Returns:
- this builder
-
port
public UpdateDb2ConnectionDetails.Builder port(Integer port)
The port of an endpoint usually specified for a connection.- Parameters:
port
- the value to set- Returns:
- this builder
-
username
public UpdateDb2ConnectionDetails.Builder username(String username)
The username Oracle GoldenGate uses to connect to the DB2 database.This username must already exist and be available by the DB2 to be connected to.
- Parameters:
username
- the value to set- Returns:
- this builder
-
password
public UpdateDb2ConnectionDetails.Builder password(String password)
The password Oracle GoldenGate uses to connect the associated DB2 database.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
-
passwordSecretId
public UpdateDb2ConnectionDetails.Builder passwordSecretId(String passwordSecretId)
The OCID of the Secret where the password is stored, that Oracle GoldenGate uses to connect the associated DB2 database.Note: When provided, ‘password’ field must not be provided.
- Parameters:
passwordSecretId
- the value to set- Returns:
- this builder
-
additionalAttributes
public UpdateDb2ConnectionDetails.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
-
securityProtocol
public UpdateDb2ConnectionDetails.Builder securityProtocol(Db2Connection.SecurityProtocol securityProtocol)
Security protocol for the DB2 database.- Parameters:
securityProtocol
- the value to set- Returns:
- this builder
-
sslClientKeystoredb
public UpdateDb2ConnectionDetails.Builder sslClientKeystoredb(String sslClientKeystoredb)
The base64 encoded keystore file created at the client containing the server certificate / CA root certificate.Deprecated: This field is deprecated and replaced by “sslClientKeystoredbSecretId”. This field will be removed after February 15 2026.
- Parameters:
sslClientKeystoredb
- the value to set- Returns:
- this builder
-
sslClientKeystoredbSecretId
public UpdateDb2ConnectionDetails.Builder sslClientKeystoredbSecretId(String sslClientKeystoredbSecretId)
The OCID of the Secret where the keystore file stored, which created at the client containing the server certificate / CA root certificate.Note: When provided, ‘sslClientKeystoredb’ field must not be provided.
- Parameters:
sslClientKeystoredbSecretId
- the value to set- Returns:
- this builder
-
sslClientKeystash
public UpdateDb2ConnectionDetails.Builder sslClientKeystash(String sslClientKeystash)
The base64 encoded keystash file which contains the encrypted password to the key database file.Deprecated: This field is deprecated and replaced by “sslClientKeystashSecretId”. This field will be removed after February 15 2026.
- Parameters:
sslClientKeystash
- the value to set- Returns:
- this builder
-
sslClientKeystashSecretId
public UpdateDb2ConnectionDetails.Builder sslClientKeystashSecretId(String sslClientKeystashSecretId)
The OCID of the Secret where the keystash file is stored, which contains the encrypted password to the key database file.Note: When provided, ‘sslClientKeystash’ field must not be provided.
- Parameters:
sslClientKeystashSecretId
- the value to set- Returns:
- this builder
-
sslServerCertificate
public UpdateDb2ConnectionDetails.Builder sslServerCertificate(String sslServerCertificate)
The base64 encoded file which contains the self-signed server certificate / Certificate Authority (CA) certificate.- Parameters:
sslServerCertificate
- the value to set- Returns:
- this builder
-
build
public UpdateDb2ConnectionDetails build()
-
copy
public UpdateDb2ConnectionDetails.Builder copy(UpdateDb2ConnectionDetails model)
-
-