public static class Db2Connection.Builder extends Object
Constructor and Description |
---|
Builder() |
public Db2Connection.Builder id(String id)
public Db2Connection.Builder displayName(String displayName)
public Db2Connection.Builder description(String description)
public Db2Connection.Builder compartmentId(String compartmentId)
public Db2Connection.Builder freeformTags(Map<String,String> freeformTags)
public Db2Connection.Builder lifecycleState(Connection.LifecycleState lifecycleState)
public Db2Connection.Builder lifecycleDetails(String lifecycleDetails)
public Db2Connection.Builder timeCreated(Date timeCreated)
public Db2Connection.Builder timeUpdated(Date timeUpdated)
public Db2Connection.Builder locks(List<ResourceLock> locks)
public Db2Connection.Builder vaultId(String vaultId)
public Db2Connection.Builder keyId(String keyId)
public Db2Connection.Builder ingressIps(List<IngressIpDetails> ingressIps)
public Db2Connection.Builder nsgIds(List<String> nsgIds)
public Db2Connection.Builder subnetId(String subnetId)
public Db2Connection.Builder routingMethod(RoutingMethod routingMethod)
public Db2Connection.Builder doesUseSecretIds(Boolean doesUseSecretIds)
public Db2Connection.Builder technologyType(Db2Connection.TechnologyType technologyType)
The DB2 technology type.
technologyType
- the value to setpublic 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.
username
- the value to setpublic Db2Connection.Builder host(String host)
The name or address of a host.
host
- the value to setpublic Db2Connection.Builder port(Integer port)
The port of an endpoint usually specified for a connection.
port
- the value to setpublic Db2Connection.Builder databaseName(String databaseName)
The name of the database.
databaseName
- the value to setpublic Db2Connection.Builder additionalAttributes(List<NameValuePair> additionalAttributes)
An array of name-value pair attribute entries. Used as additional parameters in connection string.
additionalAttributes
- the value to setpublic Db2Connection.Builder securityProtocol(Db2Connection.SecurityProtocol securityProtocol)
Security Protocol for the DB2 database.
securityProtocol
- the value to setpublic 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.
passwordSecretId
- the value to setpublic 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. Note: When provided, ‘sslClientKeystoredb’ field must not be provided.
sslClientKeystoredbSecretId
- the value to setpublic 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. Note: When provided, ‘sslClientKeystash’ field must not be provided.
sslClientKeystashSecretId
- the value to setpublic Db2Connection build()
public Db2Connection.Builder copy(Db2Connection model)
Copyright © 2016–2024. All rights reserved.