Class CreateGoldenGateConnectionDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.goldengate.model.CreateGoldenGateConnectionDetails.Builder
-
- Enclosing class:
- CreateGoldenGateConnectionDetails
public static class CreateGoldenGateConnectionDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
displayName
public CreateGoldenGateConnectionDetails.Builder displayName(String displayName)
-
description
public CreateGoldenGateConnectionDetails.Builder description(String description)
-
compartmentId
public CreateGoldenGateConnectionDetails.Builder compartmentId(String compartmentId)
-
freeformTags
public CreateGoldenGateConnectionDetails.Builder freeformTags(Map<String,String> freeformTags)
-
definedTags
public CreateGoldenGateConnectionDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
-
locks
public CreateGoldenGateConnectionDetails.Builder locks(List<AddResourceLockDetails> locks)
-
vaultId
public CreateGoldenGateConnectionDetails.Builder vaultId(String vaultId)
-
keyId
public CreateGoldenGateConnectionDetails.Builder keyId(String keyId)
-
nsgIds
public CreateGoldenGateConnectionDetails.Builder nsgIds(List<String> nsgIds)
-
subnetId
public CreateGoldenGateConnectionDetails.Builder subnetId(String subnetId)
-
routingMethod
public CreateGoldenGateConnectionDetails.Builder routingMethod(RoutingMethod routingMethod)
-
doesUseSecretIds
public CreateGoldenGateConnectionDetails.Builder doesUseSecretIds(Boolean doesUseSecretIds)
-
technologyType
public CreateGoldenGateConnectionDetails.Builder technologyType(GoldenGateConnection.TechnologyType technologyType)
The GoldenGate technology type.- Parameters:
technologyType
- the value to set- Returns:
- this builder
-
deploymentId
public CreateGoldenGateConnectionDetails.Builder deploymentId(String deploymentId)
The OCID of the deployment being referenced.- Parameters:
deploymentId
- the value to set- Returns:
- this builder
-
host
public CreateGoldenGateConnectionDetails.Builder host(String host)
The name or address of a host.- Parameters:
host
- the value to set- Returns:
- this builder
-
port
public CreateGoldenGateConnectionDetails.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 CreateGoldenGateConnectionDetails.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
-
password
public CreateGoldenGateConnectionDetails.Builder password(String password)
The password used to connect to the Oracle GoldenGate accessed trough this connection.Deprecated: This field is deprecated and replaced by “passwordSecretId”. This field will be removed after February 15 2026.
- Parameters:
password
- the value to set- Returns:
- this builder
-
passwordSecretId
public CreateGoldenGateConnectionDetails.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
-
privateIp
public CreateGoldenGateConnectionDetails.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
-
build
public CreateGoldenGateConnectionDetails build()
-
copy
public CreateGoldenGateConnectionDetails.Builder copy(CreateGoldenGateConnectionDetails model)
-
-