public static class Db2ConnectionSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
public Db2ConnectionSummary.Builder id(String id)
public Db2ConnectionSummary.Builder displayName(String displayName)
public Db2ConnectionSummary.Builder description(String description)
public Db2ConnectionSummary.Builder compartmentId(String compartmentId)
public Db2ConnectionSummary.Builder freeformTags(Map<String,String> freeformTags)
public Db2ConnectionSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
public Db2ConnectionSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
public Db2ConnectionSummary.Builder lifecycleState(Connection.LifecycleState lifecycleState)
public Db2ConnectionSummary.Builder lifecycleDetails(String lifecycleDetails)
public Db2ConnectionSummary.Builder timeCreated(Date timeCreated)
public Db2ConnectionSummary.Builder timeUpdated(Date timeUpdated)
public Db2ConnectionSummary.Builder vaultId(String vaultId)
public Db2ConnectionSummary.Builder keyId(String keyId)
public Db2ConnectionSummary.Builder ingressIps(List<IngressIpDetails> ingressIps)
public Db2ConnectionSummary.Builder nsgIds(List<String> nsgIds)
public Db2ConnectionSummary.Builder subnetId(String subnetId)
public Db2ConnectionSummary.Builder routingMethod(RoutingMethod routingMethod)
public Db2ConnectionSummary.Builder locks(List<ResourceLock> locks)
public Db2ConnectionSummary.Builder doesUseSecretIds(Boolean doesUseSecretIds)
public Db2ConnectionSummary.Builder technologyType(Db2Connection.TechnologyType technologyType)
The DB2 technology type.
technologyType
- the value to setpublic Db2ConnectionSummary.Builder databaseName(String databaseName)
The name of the database.
databaseName
- the value to setpublic Db2ConnectionSummary.Builder host(String host)
The name or address of a host.
host
- the value to setpublic Db2ConnectionSummary.Builder port(Integer port)
The port of an endpoint usually specified for a connection.
port
- the value to setpublic Db2ConnectionSummary.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 Db2ConnectionSummary.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 Db2ConnectionSummary.Builder securityProtocol(Db2Connection.SecurityProtocol securityProtocol)
Security protocol for the DB2 database.
securityProtocol
- the value to setpublic Db2ConnectionSummary.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 Db2ConnectionSummary.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 Db2ConnectionSummary.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 Db2ConnectionSummary build()
public Db2ConnectionSummary.Builder copy(Db2ConnectionSummary model)
Copyright © 2016–2024. All rights reserved.