Class CreateSnowflakeConnectionDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.goldengate.model.CreateSnowflakeConnectionDetails.Builder
-
- Enclosing class:
- CreateSnowflakeConnectionDetails
public static class CreateSnowflakeConnectionDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
displayName
public CreateSnowflakeConnectionDetails.Builder displayName(String displayName)
-
description
public CreateSnowflakeConnectionDetails.Builder description(String description)
-
compartmentId
public CreateSnowflakeConnectionDetails.Builder compartmentId(String compartmentId)
-
freeformTags
public CreateSnowflakeConnectionDetails.Builder freeformTags(Map<String,String> freeformTags)
-
definedTags
public CreateSnowflakeConnectionDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
-
locks
public CreateSnowflakeConnectionDetails.Builder locks(List<AddResourceLockDetails> locks)
-
vaultId
public CreateSnowflakeConnectionDetails.Builder vaultId(String vaultId)
-
keyId
public CreateSnowflakeConnectionDetails.Builder keyId(String keyId)
-
nsgIds
public CreateSnowflakeConnectionDetails.Builder nsgIds(List<String> nsgIds)
-
subnetId
public CreateSnowflakeConnectionDetails.Builder subnetId(String subnetId)
-
routingMethod
public CreateSnowflakeConnectionDetails.Builder routingMethod(RoutingMethod routingMethod)
-
doesUseSecretIds
public CreateSnowflakeConnectionDetails.Builder doesUseSecretIds(Boolean doesUseSecretIds)
-
technologyType
public CreateSnowflakeConnectionDetails.Builder technologyType(SnowflakeConnection.TechnologyType technologyType)
The Snowflake technology type.- Parameters:
technologyType
- the value to set- Returns:
- this builder
-
connectionUrl
public CreateSnowflakeConnectionDetails.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 CreateSnowflakeConnectionDetails.Builder authenticationType(SnowflakeConnection.AuthenticationType authenticationType)
Used authentication mechanism to access Snowflake.- Parameters:
authenticationType
- the value to set- Returns:
- this builder
-
username
public CreateSnowflakeConnectionDetails.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
-
password
public CreateSnowflakeConnectionDetails.Builder password(String password)
The password Oracle GoldenGate uses to connect to Snowflake platform.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 CreateSnowflakeConnectionDetails.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
-
privateKeyFile
public CreateSnowflakeConnectionDetails.Builder privateKeyFile(String privateKeyFile)
The base64 encoded content of private key file in PEM format.Deprecated: This field is deprecated and replaced by “privateKeyFileSecretId”. This field will be removed after February 15 2026.
- Parameters:
privateKeyFile
- the value to set- Returns:
- this builder
-
privateKeyFileSecretId
public CreateSnowflakeConnectionDetails.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
-
privateKeyPassphrase
public CreateSnowflakeConnectionDetails.Builder privateKeyPassphrase(String privateKeyPassphrase)
Password if the private key file is encrypted.Deprecated: This field is deprecated and replaced by “privateKeyPassphraseSecretId”. This field will be removed after February 15 2026.
- Parameters:
privateKeyPassphrase
- the value to set- Returns:
- this builder
-
privateKeyPassphraseSecretId
public CreateSnowflakeConnectionDetails.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 CreateSnowflakeConnectionDetails build()
-
copy
public CreateSnowflakeConnectionDetails.Builder copy(CreateSnowflakeConnectionDetails model)
-
-