Class RedisConnection.Builder
- java.lang.Object
-
- com.oracle.bmc.goldengate.model.RedisConnection.Builder
-
- Enclosing class:
- RedisConnection
public static class RedisConnection.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public RedisConnection.Builder id(String id)
-
displayName
public RedisConnection.Builder displayName(String displayName)
-
description
public RedisConnection.Builder description(String description)
-
compartmentId
public RedisConnection.Builder compartmentId(String compartmentId)
-
freeformTags
public RedisConnection.Builder freeformTags(Map<String,String> freeformTags)
-
definedTags
public RedisConnection.Builder definedTags(Map<String,Map<String,Object>> definedTags)
-
lifecycleState
public RedisConnection.Builder lifecycleState(Connection.LifecycleState lifecycleState)
-
lifecycleDetails
public RedisConnection.Builder lifecycleDetails(String lifecycleDetails)
-
timeCreated
public RedisConnection.Builder timeCreated(Date timeCreated)
-
timeUpdated
public RedisConnection.Builder timeUpdated(Date timeUpdated)
-
locks
public RedisConnection.Builder locks(List<ResourceLock> locks)
-
vaultId
public RedisConnection.Builder vaultId(String vaultId)
-
keyId
public RedisConnection.Builder keyId(String keyId)
-
ingressIps
public RedisConnection.Builder ingressIps(List<IngressIpDetails> ingressIps)
-
nsgIds
public RedisConnection.Builder nsgIds(List<String> nsgIds)
-
subnetId
public RedisConnection.Builder subnetId(String subnetId)
-
routingMethod
public RedisConnection.Builder routingMethod(RoutingMethod routingMethod)
-
doesUseSecretIds
public RedisConnection.Builder doesUseSecretIds(Boolean doesUseSecretIds)
-
technologyType
public RedisConnection.Builder technologyType(RedisConnection.TechnologyType technologyType)
The Redis technology type.- Parameters:
technologyType
- the value to set- Returns:
- this builder
-
servers
public RedisConnection.Builder servers(String servers)
Comma separated list of Redis server addresses, specified as host:port entries, where :port is optional.If port is not specified, it defaults to 6379. Used for establishing the initial connection to the Redis cluster. Example: “server1.example.com:6379,server2.example.com:6379”
- Parameters:
servers
- the value to set- Returns:
- this builder
-
securityProtocol
public RedisConnection.Builder securityProtocol(RedisConnection.SecurityProtocol securityProtocol)
Security protocol for Redis- Parameters:
securityProtocol
- the value to set- Returns:
- this builder
-
authenticationType
public RedisConnection.Builder authenticationType(RedisConnection.AuthenticationType authenticationType)
Authentication type for Redis.- Parameters:
authenticationType
- the value to set- Returns:
- this builder
-
username
public RedisConnection.Builder username(String username)
The username Oracle GoldenGate uses to connect the associated system of the given technology.This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivty requirments defined in it.
- Parameters:
username
- the value to set- Returns:
- this builder
-
redisClusterId
public RedisConnection.Builder redisClusterId(String redisClusterId)
The OCID of the Redis cluster.- Parameters:
redisClusterId
- the value to set- Returns:
- this builder
-
passwordSecretId
public RedisConnection.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
-
trustStoreSecretId
public RedisConnection.Builder trustStoreSecretId(String trustStoreSecretId)
The OCID of the Secret that stores the content of the TrustStore file.Note: When provided, ‘trustStore’ field must not be provided.
- Parameters:
trustStoreSecretId
- the value to set- Returns:
- this builder
-
trustStorePasswordSecretId
public RedisConnection.Builder trustStorePasswordSecretId(String trustStorePasswordSecretId)
The OCID of the Secret where the Redis TrustStore password is stored.Note: When provided, ‘trustStorePassword’ field must not be provided.
- Parameters:
trustStorePasswordSecretId
- the value to set- Returns:
- this builder
-
keyStoreSecretId
public RedisConnection.Builder keyStoreSecretId(String keyStoreSecretId)
The OCID of the Secret that stores the content of the KeyStore file.Note: When provided, ‘keyStore’ field must not be provided.
- Parameters:
keyStoreSecretId
- the value to set- Returns:
- this builder
-
keyStorePasswordSecretId
public RedisConnection.Builder keyStorePasswordSecretId(String keyStorePasswordSecretId)
The OCID of the Secret where the Redis KeyStore password is stored.Note: When provided, ‘keyStorePassword’ field must not be provided.
- Parameters:
keyStorePasswordSecretId
- the value to set- Returns:
- this builder
-
build
public RedisConnection build()
-
copy
public RedisConnection.Builder copy(RedisConnection model)
-
-