Package com.oracle.bmc.goldengate.model
Class GoldenGateConnection.Builder
- java.lang.Object
-
- com.oracle.bmc.goldengate.model.GoldenGateConnection.Builder
-
- Enclosing class:
- GoldenGateConnection
public static class GoldenGateConnection.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public GoldenGateConnection.Builder id(String id)
-
displayName
public GoldenGateConnection.Builder displayName(String displayName)
-
description
public GoldenGateConnection.Builder description(String description)
-
compartmentId
public GoldenGateConnection.Builder compartmentId(String compartmentId)
-
freeformTags
public GoldenGateConnection.Builder freeformTags(Map<String,String> freeformTags)
-
definedTags
public GoldenGateConnection.Builder definedTags(Map<String,Map<String,Object>> definedTags)
-
systemTags
public GoldenGateConnection.Builder systemTags(Map<String,Map<String,Object>> systemTags)
-
lifecycleState
public GoldenGateConnection.Builder lifecycleState(Connection.LifecycleState lifecycleState)
-
lifecycleDetails
public GoldenGateConnection.Builder lifecycleDetails(String lifecycleDetails)
-
timeCreated
public GoldenGateConnection.Builder timeCreated(Date timeCreated)
-
timeUpdated
public GoldenGateConnection.Builder timeUpdated(Date timeUpdated)
-
locks
public GoldenGateConnection.Builder locks(List<ResourceLock> locks)
-
vaultId
public GoldenGateConnection.Builder vaultId(String vaultId)
-
keyId
public GoldenGateConnection.Builder keyId(String keyId)
-
ingressIps
public GoldenGateConnection.Builder ingressIps(List<IngressIpDetails> ingressIps)
-
nsgIds
public GoldenGateConnection.Builder nsgIds(List<String> nsgIds)
-
subnetId
public GoldenGateConnection.Builder subnetId(String subnetId)
-
routingMethod
public GoldenGateConnection.Builder routingMethod(RoutingMethod routingMethod)
-
doesUseSecretIds
public GoldenGateConnection.Builder doesUseSecretIds(Boolean doesUseSecretIds)
-
technologyType
public GoldenGateConnection.Builder technologyType(GoldenGateConnection.TechnologyType technologyType)
The GoldenGate technology type.- Parameters:
technologyType
- the value to set- Returns:
- this builder
-
deploymentId
public GoldenGateConnection.Builder deploymentId(String deploymentId)
The OCID of the deployment being referenced.- Parameters:
deploymentId
- the value to set- Returns:
- this builder
-
host
public GoldenGateConnection.Builder host(String host)
The name or address of a host.- Parameters:
host
- the value to set- Returns:
- this builder
-
port
public GoldenGateConnection.Builder port(Integer port)
The port of an endpoint usually specified for a connection.- Parameters:
port
- the value to set- Returns:
- this builder
-
username
public GoldenGateConnection.Builder username(String username)
The username credential existing in the Oracle GoldenGate used to be connected to.- Parameters:
username
- the value to set- Returns:
- this builder
-
privateIp
public GoldenGateConnection.Builder privateIp(String privateIp)
Deprecated: this field will be removed in future versions.Either specify the private IP in the connectionString or host field, or make sure the host name is resolvable in the target VCN.
The private IP address of the connection's endpoint in the customer's VCN, typically a database endpoint or a big data endpoint (e.g. Kafka bootstrap server). In case the privateIp is provided, the subnetId must also be provided. In case the privateIp (and the subnetId) is not provided it is assumed the datasource is publicly accessible. In case the connection is accessible only privately, the lack of privateIp will result in not being able to access the connection.
- Parameters:
privateIp
- the value to set- Returns:
- this builder
-
passwordSecretId
public GoldenGateConnection.Builder passwordSecretId(String passwordSecretId)
The OCID of the Secret where the password is stored, which is used to connect to the Oracle GoldenGate accessed trough this connection.Note: When provided, ‘password’ field must not be provided.
- Parameters:
passwordSecretId
- the value to set- Returns:
- this builder
-
build
public GoldenGateConnection build()
-
copy
public GoldenGateConnection.Builder copy(GoldenGateConnection model)
-
-