Class UpdateSnowflakeConnectionDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.goldengate.model.UpdateSnowflakeConnectionDetails.Builder
-
- Enclosing class:
- UpdateSnowflakeConnectionDetails
public static class UpdateSnowflakeConnectionDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
displayName
public UpdateSnowflakeConnectionDetails.Builder displayName(String displayName)
-
description
public UpdateSnowflakeConnectionDetails.Builder description(String description)
-
freeformTags
public UpdateSnowflakeConnectionDetails.Builder freeformTags(Map<String,String> freeformTags)
-
definedTags
public UpdateSnowflakeConnectionDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
-
vaultId
public UpdateSnowflakeConnectionDetails.Builder vaultId(String vaultId)
-
keyId
public UpdateSnowflakeConnectionDetails.Builder keyId(String keyId)
-
nsgIds
public UpdateSnowflakeConnectionDetails.Builder nsgIds(List<String> nsgIds)
-
subnetId
public UpdateSnowflakeConnectionDetails.Builder subnetId(String subnetId)
-
routingMethod
public UpdateSnowflakeConnectionDetails.Builder routingMethod(RoutingMethod routingMethod)
-
doesUseSecretIds
public UpdateSnowflakeConnectionDetails.Builder doesUseSecretIds(Boolean doesUseSecretIds)
-
connectionUrl
public UpdateSnowflakeConnectionDetails.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 UpdateSnowflakeConnectionDetails.Builder authenticationType(SnowflakeConnection.AuthenticationType authenticationType)
Used authentication mechanism to access Snowflake.- Parameters:
authenticationType
- the value to set- Returns:
- this builder
-
username
public UpdateSnowflakeConnectionDetails.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 UpdateSnowflakeConnectionDetails.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 UpdateSnowflakeConnectionDetails.Builder passwordSecretId(String passwordSecretId)
The OCID of the Secret that stores the password Oracle GoldenGate uses to connect to Snowflake platform.Note: When provided, ‘password’ field must not be provided.
- Parameters:
passwordSecretId
- the value to set- Returns:
- this builder
-
privateKeyFile
public UpdateSnowflakeConnectionDetails.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 UpdateSnowflakeConnectionDetails.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 UpdateSnowflakeConnectionDetails.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 UpdateSnowflakeConnectionDetails.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 UpdateSnowflakeConnectionDetails build()
-
copy
public UpdateSnowflakeConnectionDetails.Builder copy(UpdateSnowflakeConnectionDetails model)
-
-