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)
-
subscriptionId
public GoldenGateConnection.Builder subscriptionId(String subscriptionId)
-
clusterPlacementGroupId
public GoldenGateConnection.Builder clusterPlacementGroupId(String clusterPlacementGroupId)
-
securityAttributes
public GoldenGateConnection.Builder securityAttributes(Map<String,Map<String,Object>> securityAttributes)
-
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)
This property is not available when creating connections.For existing deprecated connections having this value set, the value cannot be updated; set it to empty.
For deprecated connections created with this field in the past, either the private IP had to be specified in the connectionString or host field, or the host name had to be resolvable in the target VCN.
- 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)
-
-