Class CreateRedisConnectionDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.goldengate.model.CreateRedisConnectionDetails.Builder
-
- Enclosing class:
- CreateRedisConnectionDetails
public static class CreateRedisConnectionDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
displayName
public CreateRedisConnectionDetails.Builder displayName(String displayName)
-
description
public CreateRedisConnectionDetails.Builder description(String description)
-
compartmentId
public CreateRedisConnectionDetails.Builder compartmentId(String compartmentId)
-
freeformTags
public CreateRedisConnectionDetails.Builder freeformTags(Map<String,String> freeformTags)
-
definedTags
public CreateRedisConnectionDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
-
locks
public CreateRedisConnectionDetails.Builder locks(List<AddResourceLockDetails> locks)
-
vaultId
public CreateRedisConnectionDetails.Builder vaultId(String vaultId)
-
keyId
public CreateRedisConnectionDetails.Builder keyId(String keyId)
-
nsgIds
public CreateRedisConnectionDetails.Builder nsgIds(List<String> nsgIds)
-
subnetId
public CreateRedisConnectionDetails.Builder subnetId(String subnetId)
-
routingMethod
public CreateRedisConnectionDetails.Builder routingMethod(RoutingMethod routingMethod)
-
doesUseSecretIds
public CreateRedisConnectionDetails.Builder doesUseSecretIds(Boolean doesUseSecretIds)
-
technologyType
public CreateRedisConnectionDetails.Builder technologyType(RedisConnection.TechnologyType technologyType)
The Redis technology type.- Parameters:
technologyType
- the value to set- Returns:
- this builder
-
servers
public CreateRedisConnectionDetails.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 CreateRedisConnectionDetails.Builder securityProtocol(RedisConnection.SecurityProtocol securityProtocol)
Security protocol for Redis.- Parameters:
securityProtocol
- the value to set- Returns:
- this builder
-
authenticationType
public CreateRedisConnectionDetails.Builder authenticationType(RedisConnection.AuthenticationType authenticationType)
Authenticationentication type for the Redis database.- Parameters:
authenticationType
- the value to set- Returns:
- this builder
-
username
public CreateRedisConnectionDetails.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
-
password
public CreateRedisConnectionDetails.Builder password(String password)
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. 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 CreateRedisConnectionDetails.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
-
trustStore
public CreateRedisConnectionDetails.Builder trustStore(String trustStore)
The base64 encoded content of the TrustStore file.Deprecated: This field is deprecated and replaced by “trustStoreSecretId”. This field will be removed after February 15 2026.
- Parameters:
trustStore
- the value to set- Returns:
- this builder
-
trustStoreSecretId
public CreateRedisConnectionDetails.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
-
trustStorePassword
public CreateRedisConnectionDetails.Builder trustStorePassword(String trustStorePassword)
The TrustStore password.Deprecated: This field is deprecated and replaced by “trustStorePasswordSecretId”. This field will be removed after February 15 2026.
- Parameters:
trustStorePassword
- the value to set- Returns:
- this builder
-
trustStorePasswordSecretId
public CreateRedisConnectionDetails.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
-
keyStore
public CreateRedisConnectionDetails.Builder keyStore(String keyStore)
The base64 encoded content of the KeyStore file.Deprecated: This field is deprecated and replaced by “keyStoreSecretId”. This field will be removed after February 15 2026.
- Parameters:
keyStore
- the value to set- Returns:
- this builder
-
keyStoreSecretId
public CreateRedisConnectionDetails.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
-
keyStorePassword
public CreateRedisConnectionDetails.Builder keyStorePassword(String keyStorePassword)
The KeyStore password.Deprecated: This field is deprecated and replaced by “keyStorePasswordSecretId”. This field will be removed after February 15 2026.
- Parameters:
keyStorePassword
- the value to set- Returns:
- this builder
-
keyStorePasswordSecretId
public CreateRedisConnectionDetails.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
-
redisClusterId
public CreateRedisConnectionDetails.Builder redisClusterId(String redisClusterId)
The OCID of the Redis cluster.- Parameters:
redisClusterId
- the value to set- Returns:
- this builder
-
build
public CreateRedisConnectionDetails build()
-
copy
public CreateRedisConnectionDetails.Builder copy(CreateRedisConnectionDetails model)
-
-