Package com.oracle.bmc.goldengate.model
Class SnowflakeConnectionSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.goldengate.model.SnowflakeConnectionSummary.Builder
-
- Enclosing class:
- SnowflakeConnectionSummary
public static class SnowflakeConnectionSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public SnowflakeConnectionSummary.Builder id(String id)
-
displayName
public SnowflakeConnectionSummary.Builder displayName(String displayName)
-
description
public SnowflakeConnectionSummary.Builder description(String description)
-
compartmentId
public SnowflakeConnectionSummary.Builder compartmentId(String compartmentId)
-
freeformTags
public SnowflakeConnectionSummary.Builder freeformTags(Map<String,String> freeformTags)
-
definedTags
public SnowflakeConnectionSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
-
systemTags
public SnowflakeConnectionSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
-
lifecycleState
public SnowflakeConnectionSummary.Builder lifecycleState(Connection.LifecycleState lifecycleState)
-
lifecycleDetails
public SnowflakeConnectionSummary.Builder lifecycleDetails(String lifecycleDetails)
-
timeCreated
public SnowflakeConnectionSummary.Builder timeCreated(Date timeCreated)
-
timeUpdated
public SnowflakeConnectionSummary.Builder timeUpdated(Date timeUpdated)
-
vaultId
public SnowflakeConnectionSummary.Builder vaultId(String vaultId)
-
keyId
public SnowflakeConnectionSummary.Builder keyId(String keyId)
-
ingressIps
public SnowflakeConnectionSummary.Builder ingressIps(List<IngressIpDetails> ingressIps)
-
nsgIds
public SnowflakeConnectionSummary.Builder nsgIds(List<String> nsgIds)
-
subnetId
public SnowflakeConnectionSummary.Builder subnetId(String subnetId)
-
routingMethod
public SnowflakeConnectionSummary.Builder routingMethod(RoutingMethod routingMethod)
-
locks
public SnowflakeConnectionSummary.Builder locks(List<ResourceLock> locks)
-
doesUseSecretIds
public SnowflakeConnectionSummary.Builder doesUseSecretIds(Boolean doesUseSecretIds)
-
technologyType
public SnowflakeConnectionSummary.Builder technologyType(SnowflakeConnection.TechnologyType technologyType)
The Snowflake technology type.- Parameters:
technologyType
- the value to set- Returns:
- this builder
-
connectionUrl
public SnowflakeConnectionSummary.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 SnowflakeConnectionSummary.Builder authenticationType(SnowflakeConnection.AuthenticationType authenticationType)
Used authentication mechanism to access Snowflake.- Parameters:
authenticationType
- the value to set- Returns:
- this builder
-
username
public SnowflakeConnectionSummary.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 SnowflakeConnectionSummary.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 SnowflakeConnectionSummary.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 SnowflakeConnectionSummary.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 SnowflakeConnectionSummary build()
-
copy
public SnowflakeConnectionSummary.Builder copy(SnowflakeConnectionSummary model)
-
-