Class UpdateDb2ConnectionDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.goldengate.model.UpdateDb2ConnectionDetails.Builder
 
- 
- Enclosing class:
- UpdateDb2ConnectionDetails
 
 public static class UpdateDb2ConnectionDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateDb2ConnectionDetails.BuilderadditionalAttributes(List<NameValuePair> additionalAttributes)An array of name-value pair attribute entries.UpdateDb2ConnectionDetailsbuild()UpdateDb2ConnectionDetails.Buildercopy(UpdateDb2ConnectionDetails model)UpdateDb2ConnectionDetails.BuilderdatabaseName(String databaseName)The name of the database.UpdateDb2ConnectionDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)UpdateDb2ConnectionDetails.Builderdescription(String description)UpdateDb2ConnectionDetails.BuilderdisplayName(String displayName)UpdateDb2ConnectionDetails.BuilderdoesUseSecretIds(Boolean doesUseSecretIds)UpdateDb2ConnectionDetails.BuilderfreeformTags(Map<String,String> freeformTags)UpdateDb2ConnectionDetails.Builderhost(String host)The name or address of a host.UpdateDb2ConnectionDetails.BuilderkeyId(String keyId)UpdateDb2ConnectionDetails.BuildernsgIds(List<String> nsgIds)UpdateDb2ConnectionDetails.Builderpassword(String password)The password Oracle GoldenGate uses to connect the associated DB2 database.UpdateDb2ConnectionDetails.BuilderpasswordSecretId(String passwordSecretId)The OCID of the Secret where the password is stored, that Oracle GoldenGate uses to connect the associated DB2 database.UpdateDb2ConnectionDetails.Builderport(Integer port)The port of an endpoint usually specified for a connection.UpdateDb2ConnectionDetails.BuilderroutingMethod(RoutingMethod routingMethod)UpdateDb2ConnectionDetails.BuildersecurityAttributes(Map<String,Map<String,Object>> securityAttributes)UpdateDb2ConnectionDetails.BuildersecurityProtocol(Db2Connection.SecurityProtocol securityProtocol)Security protocol for the DB2 database.UpdateDb2ConnectionDetails.BuildersslClientKeystash(String sslClientKeystash)The base64 encoded keystash file which contains the encrypted password to the key database file.UpdateDb2ConnectionDetails.BuildersslClientKeystashSecretId(String sslClientKeystashSecretId)The OCID of the Secret where the keystash file is stored, which contains the encrypted password to the key database file.UpdateDb2ConnectionDetails.BuildersslClientKeystoredb(String sslClientKeystoredb)The base64 encoded keystore file created at the client containing the server certificate / CA root certificate.UpdateDb2ConnectionDetails.BuildersslClientKeystoredbSecretId(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.BuildersslServerCertificate(String sslServerCertificate)The base64 encoded file which contains the self-signed server certificate / Certificate Authority (CA) certificate.UpdateDb2ConnectionDetails.BuildersubnetId(String subnetId)UpdateDb2ConnectionDetails.Builderusername(String username)The username Oracle GoldenGate uses to connect to the DB2 database.UpdateDb2ConnectionDetails.BuildervaultId(String vaultId)
 
- 
- 
- 
Method Detail- 
displayNamepublic UpdateDb2ConnectionDetails.Builder displayName(String displayName) 
 - 
descriptionpublic UpdateDb2ConnectionDetails.Builder description(String description) 
 - 
freeformTagspublic UpdateDb2ConnectionDetails.Builder freeformTags(Map<String,String> freeformTags) 
 - 
definedTagspublic UpdateDb2ConnectionDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags) 
 - 
vaultIdpublic UpdateDb2ConnectionDetails.Builder vaultId(String vaultId) 
 - 
keyIdpublic UpdateDb2ConnectionDetails.Builder keyId(String keyId) 
 - 
nsgIdspublic UpdateDb2ConnectionDetails.Builder nsgIds(List<String> nsgIds) 
 - 
subnetIdpublic UpdateDb2ConnectionDetails.Builder subnetId(String subnetId) 
 - 
routingMethodpublic UpdateDb2ConnectionDetails.Builder routingMethod(RoutingMethod routingMethod) 
 - 
doesUseSecretIdspublic UpdateDb2ConnectionDetails.Builder doesUseSecretIds(Boolean doesUseSecretIds) 
 - 
securityAttributespublic UpdateDb2ConnectionDetails.Builder securityAttributes(Map<String,Map<String,Object>> securityAttributes) 
 - 
databaseNamepublic UpdateDb2ConnectionDetails.Builder databaseName(String databaseName) The name of the database.- Parameters:
- databaseName- the value to set
- Returns:
- this builder
 
 - 
hostpublic UpdateDb2ConnectionDetails.Builder host(String host) The name or address of a host.- Parameters:
- host- the value to set
- Returns:
- this builder
 
 - 
portpublic UpdateDb2ConnectionDetails.Builder port(Integer port) The port of an endpoint usually specified for a connection.- Parameters:
- port- the value to set
- Returns:
- this builder
 
 - 
usernamepublic 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
 
 - 
passwordpublic 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
 
 - 
passwordSecretIdpublic 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
 
 - 
additionalAttributespublic 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
 
 - 
securityProtocolpublic UpdateDb2ConnectionDetails.Builder securityProtocol(Db2Connection.SecurityProtocol securityProtocol) Security protocol for the DB2 database.- Parameters:
- securityProtocol- the value to set
- Returns:
- this builder
 
 - 
sslClientKeystoredbpublic UpdateDb2ConnectionDetails.Builder sslClientKeystoredb(String sslClientKeystoredb) The base64 encoded keystore file created at the client containing the server certificate / CA root certificate.This property is not supported for IBM Db2 for i, as client TLS mode is not available. 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
 
 - 
sslClientKeystoredbSecretIdpublic 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.This property is not supported for IBM Db2 for i, as client TLS mode is not available. Note: When provided, 'sslClientKeystoredb' field must not be provided. - Parameters:
- sslClientKeystoredbSecretId- the value to set
- Returns:
- this builder
 
 - 
sslClientKeystashpublic UpdateDb2ConnectionDetails.Builder sslClientKeystash(String sslClientKeystash) The base64 encoded keystash file which contains the encrypted password to the key database file.This property is not supported for IBM Db2 for i, as client TLS mode is not available. 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
 
 - 
sslClientKeystashSecretIdpublic 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.This property is not supported for IBM Db2 for i, as client TLS mode is not available. Note: When provided, 'sslClientKeystash' field must not be provided. - Parameters:
- sslClientKeystashSecretId- the value to set
- Returns:
- this builder
 
 - 
sslServerCertificatepublic UpdateDb2ConnectionDetails.Builder sslServerCertificate(String sslServerCertificate) The base64 encoded file which contains the self-signed server certificate / Certificate Authority (CA) certificate.It is not included in GET responses if the view=COMPACT query parameter is specified. - Parameters:
- sslServerCertificate- the value to set
- Returns:
- this builder
 
 - 
buildpublic UpdateDb2ConnectionDetails build() 
 - 
copypublic UpdateDb2ConnectionDetails.Builder copy(UpdateDb2ConnectionDetails model) 
 
- 
 
-