Package com.oracle.bmc.goldengate.model
Class Db2Connection.Builder
- java.lang.Object
- 
- com.oracle.bmc.goldengate.model.Db2Connection.Builder
 
- 
- Enclosing class:
- Db2Connection
 
 public static class Db2Connection.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method Summary
 
- 
- 
- 
Method Detail- 
idpublic Db2Connection.Builder id(String id) 
 - 
displayNamepublic Db2Connection.Builder displayName(String displayName) 
 - 
descriptionpublic Db2Connection.Builder description(String description) 
 - 
compartmentIdpublic Db2Connection.Builder compartmentId(String compartmentId) 
 - 
freeformTagspublic Db2Connection.Builder freeformTags(Map<String,String> freeformTags) 
 - 
lifecycleStatepublic Db2Connection.Builder lifecycleState(Connection.LifecycleState lifecycleState) 
 - 
lifecycleDetailspublic Db2Connection.Builder lifecycleDetails(String lifecycleDetails) 
 - 
timeCreatedpublic Db2Connection.Builder timeCreated(Date timeCreated) 
 - 
timeUpdatedpublic Db2Connection.Builder timeUpdated(Date timeUpdated) 
 - 
lockspublic Db2Connection.Builder locks(List<ResourceLock> locks) 
 - 
vaultIdpublic Db2Connection.Builder vaultId(String vaultId) 
 - 
keyIdpublic Db2Connection.Builder keyId(String keyId) 
 - 
ingressIpspublic Db2Connection.Builder ingressIps(List<IngressIpDetails> ingressIps) 
 - 
nsgIdspublic Db2Connection.Builder nsgIds(List<String> nsgIds) 
 - 
subnetIdpublic Db2Connection.Builder subnetId(String subnetId) 
 - 
routingMethodpublic Db2Connection.Builder routingMethod(RoutingMethod routingMethod) 
 - 
doesUseSecretIdspublic Db2Connection.Builder doesUseSecretIds(Boolean doesUseSecretIds) 
 - 
subscriptionIdpublic Db2Connection.Builder subscriptionId(String subscriptionId) 
 - 
clusterPlacementGroupIdpublic Db2Connection.Builder clusterPlacementGroupId(String clusterPlacementGroupId) 
 - 
securityAttributespublic Db2Connection.Builder securityAttributes(Map<String,Map<String,Object>> securityAttributes) 
 - 
technologyTypepublic Db2Connection.Builder technologyType(Db2Connection.TechnologyType technologyType) The DB2 technology type.- Parameters:
- technologyType- the value to set
- Returns:
- this builder
 
 - 
usernamepublic Db2Connection.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
 
 - 
hostpublic Db2Connection.Builder host(String host) The name or address of a host.- Parameters:
- host- the value to set
- Returns:
- this builder
 
 - 
portpublic Db2Connection.Builder port(Integer port) The port of an endpoint usually specified for a connection.- Parameters:
- port- the value to set
- Returns:
- this builder
 
 - 
databaseNamepublic Db2Connection.Builder databaseName(String databaseName) The name of the database.- Parameters:
- databaseName- the value to set
- Returns:
- this builder
 
 - 
additionalAttributespublic Db2Connection.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 Db2Connection.Builder securityProtocol(Db2Connection.SecurityProtocol securityProtocol) Security Protocol for the DB2 database.- Parameters:
- securityProtocol- the value to set
- Returns:
- this builder
 
 - 
passwordSecretIdpublic Db2Connection.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
 
 - 
sslClientKeystoredbSecretIdpublic Db2Connection.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
 
 - 
sslClientKeystashSecretIdpublic Db2Connection.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 Db2Connection.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 Db2Connection build() 
 - 
copypublic Db2Connection.Builder copy(Db2Connection model) 
 
- 
 
-