Package com.oracle.bmc.goldengate.model
Class SnowflakeConnection.Builder
- java.lang.Object
-
- com.oracle.bmc.goldengate.model.SnowflakeConnection.Builder
-
- Enclosing class:
- SnowflakeConnection
public static class SnowflakeConnection.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public SnowflakeConnection.Builder id(String id)
-
displayName
public SnowflakeConnection.Builder displayName(String displayName)
-
description
public SnowflakeConnection.Builder description(String description)
-
compartmentId
public SnowflakeConnection.Builder compartmentId(String compartmentId)
-
freeformTags
public SnowflakeConnection.Builder freeformTags(Map<String,String> freeformTags)
-
definedTags
public SnowflakeConnection.Builder definedTags(Map<String,Map<String,Object>> definedTags)
-
systemTags
public SnowflakeConnection.Builder systemTags(Map<String,Map<String,Object>> systemTags)
-
lifecycleState
public SnowflakeConnection.Builder lifecycleState(Connection.LifecycleState lifecycleState)
-
lifecycleDetails
public SnowflakeConnection.Builder lifecycleDetails(String lifecycleDetails)
-
timeCreated
public SnowflakeConnection.Builder timeCreated(Date timeCreated)
-
timeUpdated
public SnowflakeConnection.Builder timeUpdated(Date timeUpdated)
-
locks
public SnowflakeConnection.Builder locks(List<ResourceLock> locks)
-
vaultId
public SnowflakeConnection.Builder vaultId(String vaultId)
-
keyId
public SnowflakeConnection.Builder keyId(String keyId)
-
ingressIps
public SnowflakeConnection.Builder ingressIps(List<IngressIpDetails> ingressIps)
-
nsgIds
public SnowflakeConnection.Builder nsgIds(List<String> nsgIds)
-
subnetId
public SnowflakeConnection.Builder subnetId(String subnetId)
-
routingMethod
public SnowflakeConnection.Builder routingMethod(RoutingMethod routingMethod)
-
doesUseSecretIds
public SnowflakeConnection.Builder doesUseSecretIds(Boolean doesUseSecretIds)
-
technologyType
public SnowflakeConnection.Builder technologyType(SnowflakeConnection.TechnologyType technologyType)
The Snowflake technology type.- Parameters:
technologyType
- the value to set- Returns:
- this builder
-
connectionUrl
public SnowflakeConnection.Builder connectionUrl(String connectionUrl)
JDBC connection URL.e.g.: ‘jdbc:snowflake://<account_name>.snowflakecomputing.com/?warehouse=
&db= ’ - Parameters:
connectionUrl
- the value to set- Returns:
- this builder
-
authenticationType
public SnowflakeConnection.Builder authenticationType(SnowflakeConnection.AuthenticationType authenticationType)
Used authentication mechanism to access Snowflake.- Parameters:
authenticationType
- the value to set- Returns:
- this builder
-
username
public SnowflakeConnection.Builder username(String username)
The username Oracle GoldenGate uses to connect to Snowflake.This username must already exist and be available by Snowflake platform to be connected to.
- Parameters:
username
- the value to set- Returns:
- this builder
-
passwordSecretId
public SnowflakeConnection.Builder passwordSecretId(String passwordSecretId)
The OCID of the Secret where the password is stored.The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. If secretId is used plaintext field must not be provided. Note: When provided, ‘password’ field must not be provided.
- Parameters:
passwordSecretId
- the value to set- Returns:
- this builder
-
privateKeyFileSecretId
public SnowflakeConnection.Builder privateKeyFileSecretId(String privateKeyFileSecretId)
The OCID of the Secret that stores the content of the private key file (PEM file) corresponding to the API key of the fingerprint.See documentation: https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcredentials.htm Note: When provided, ‘privateKeyFile’ field must not be provided.
- Parameters:
privateKeyFileSecretId
- the value to set- Returns:
- this builder
-
privateKeyPassphraseSecretId
public SnowflakeConnection.Builder privateKeyPassphraseSecretId(String privateKeyPassphraseSecretId)
The OCID of the Secret that stores the password for the private key file.Note: When provided, ‘privateKeyPassphrase’ field must not be provided.
- Parameters:
privateKeyPassphraseSecretId
- the value to set- Returns:
- this builder
-
build
public SnowflakeConnection build()
-
copy
public SnowflakeConnection.Builder copy(SnowflakeConnection model)
-
-