public static class CreateDb2ConnectionDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public CreateDb2ConnectionDetails.Builder displayName(String displayName)
public CreateDb2ConnectionDetails.Builder description(String description)
public CreateDb2ConnectionDetails.Builder compartmentId(String compartmentId)
public CreateDb2ConnectionDetails.Builder freeformTags(Map<String,String> freeformTags)
public CreateDb2ConnectionDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
public CreateDb2ConnectionDetails.Builder locks(List<AddResourceLockDetails> locks)
public CreateDb2ConnectionDetails.Builder vaultId(String vaultId)
public CreateDb2ConnectionDetails.Builder keyId(String keyId)
public CreateDb2ConnectionDetails.Builder nsgIds(List<String> nsgIds)
public CreateDb2ConnectionDetails.Builder subnetId(String subnetId)
public CreateDb2ConnectionDetails.Builder routingMethod(RoutingMethod routingMethod)
public CreateDb2ConnectionDetails.Builder doesUseSecretIds(Boolean doesUseSecretIds)
public CreateDb2ConnectionDetails.Builder technologyType(Db2Connection.TechnologyType technologyType)
The DB2 technology type.
technologyType
- the value to setpublic CreateDb2ConnectionDetails.Builder databaseName(String databaseName)
The name of the database.
databaseName
- the value to setpublic CreateDb2ConnectionDetails.Builder host(String host)
The name or address of a host.
host
- the value to setpublic CreateDb2ConnectionDetails.Builder port(Integer port)
The port of an endpoint usually specified for a connection.
port
- the value to setpublic CreateDb2ConnectionDetails.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 CreateDb2ConnectionDetails.Builder password(String password)
The password Oracle GoldenGate uses to connect the associated DB2 database.
password
- the value to setpublic CreateDb2ConnectionDetails.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 CreateDb2ConnectionDetails.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 CreateDb2ConnectionDetails.Builder securityProtocol(Db2Connection.SecurityProtocol securityProtocol)
Security protocol for the DB2 database.
securityProtocol
- the value to setpublic CreateDb2ConnectionDetails.Builder sslClientKeystoredb(String sslClientKeystoredb)
The base64 encoded keystore file created at the client containing the server certificate / CA root certificate.
sslClientKeystoredb
- the value to setpublic CreateDb2ConnectionDetails.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 CreateDb2ConnectionDetails.Builder sslClientKeystash(String sslClientKeystash)
The base64 encoded keystash file which contains the encrypted password to the key database file.
sslClientKeystash
- the value to setpublic CreateDb2ConnectionDetails.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 CreateDb2ConnectionDetails.Builder sslServerCertificate(String sslServerCertificate)
The base64 encoded file which contains the self-signed server certificate / Certificate Authority (CA) certificate.
sslServerCertificate
- the value to setpublic CreateDb2ConnectionDetails build()
public CreateDb2ConnectionDetails.Builder copy(CreateDb2ConnectionDetails model)
Copyright © 2016–2024. All rights reserved.