Package com.oracle.bmc.goldengate.model
Class ElasticsearchConnection.Builder
- java.lang.Object
-
- com.oracle.bmc.goldengate.model.ElasticsearchConnection.Builder
-
- Enclosing class:
- ElasticsearchConnection
public static class ElasticsearchConnection.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public ElasticsearchConnection.Builder id(String id)
-
displayName
public ElasticsearchConnection.Builder displayName(String displayName)
-
description
public ElasticsearchConnection.Builder description(String description)
-
compartmentId
public ElasticsearchConnection.Builder compartmentId(String compartmentId)
-
freeformTags
public ElasticsearchConnection.Builder freeformTags(Map<String,String> freeformTags)
-
definedTags
public ElasticsearchConnection.Builder definedTags(Map<String,Map<String,Object>> definedTags)
-
systemTags
public ElasticsearchConnection.Builder systemTags(Map<String,Map<String,Object>> systemTags)
-
lifecycleState
public ElasticsearchConnection.Builder lifecycleState(Connection.LifecycleState lifecycleState)
-
lifecycleDetails
public ElasticsearchConnection.Builder lifecycleDetails(String lifecycleDetails)
-
timeCreated
public ElasticsearchConnection.Builder timeCreated(Date timeCreated)
-
timeUpdated
public ElasticsearchConnection.Builder timeUpdated(Date timeUpdated)
-
locks
public ElasticsearchConnection.Builder locks(List<ResourceLock> locks)
-
vaultId
public ElasticsearchConnection.Builder vaultId(String vaultId)
-
keyId
public ElasticsearchConnection.Builder keyId(String keyId)
-
ingressIps
public ElasticsearchConnection.Builder ingressIps(List<IngressIpDetails> ingressIps)
-
nsgIds
public ElasticsearchConnection.Builder nsgIds(List<String> nsgIds)
-
subnetId
public ElasticsearchConnection.Builder subnetId(String subnetId)
-
routingMethod
public ElasticsearchConnection.Builder routingMethod(RoutingMethod routingMethod)
-
doesUseSecretIds
public ElasticsearchConnection.Builder doesUseSecretIds(Boolean doesUseSecretIds)
-
technologyType
public ElasticsearchConnection.Builder technologyType(ElasticsearchConnection.TechnologyType technologyType)
The Elasticsearch technology type.- Parameters:
technologyType
- the value to set- Returns:
- this builder
-
servers
public ElasticsearchConnection.Builder servers(String servers)
Comma separated list of Elasticsearch server addresses, specified as host:port entries, where :port is optional.If port is not specified, it defaults to 9200. Used for establishing the initial connection to the Elasticsearch cluster. Example: “server1.example.com:4000,server2.example.com:4000”
- Parameters:
servers
- the value to set- Returns:
- this builder
-
securityProtocol
public ElasticsearchConnection.Builder securityProtocol(ElasticsearchConnection.SecurityProtocol securityProtocol)
Security protocol for Elasticsearch- Parameters:
securityProtocol
- the value to set- Returns:
- this builder
-
authenticationType
public ElasticsearchConnection.Builder authenticationType(ElasticsearchConnection.AuthenticationType authenticationType)
Authentication type for Elasticsearch.- Parameters:
authenticationType
- the value to set- Returns:
- this builder
-
username
public ElasticsearchConnection.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
-
passwordSecretId
public ElasticsearchConnection.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
-
build
public ElasticsearchConnection build()
-
copy
public ElasticsearchConnection.Builder copy(ElasticsearchConnection model)
-
-