Class CreateElasticsearchConnectionDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.goldengate.model.CreateElasticsearchConnectionDetails.Builder
-
- Enclosing class:
- CreateElasticsearchConnectionDetails
public static class CreateElasticsearchConnectionDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
displayName
public CreateElasticsearchConnectionDetails.Builder displayName(String displayName)
-
description
public CreateElasticsearchConnectionDetails.Builder description(String description)
-
compartmentId
public CreateElasticsearchConnectionDetails.Builder compartmentId(String compartmentId)
-
freeformTags
public CreateElasticsearchConnectionDetails.Builder freeformTags(Map<String,String> freeformTags)
-
definedTags
public CreateElasticsearchConnectionDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
-
locks
public CreateElasticsearchConnectionDetails.Builder locks(List<AddResourceLockDetails> locks)
-
vaultId
public CreateElasticsearchConnectionDetails.Builder vaultId(String vaultId)
-
keyId
public CreateElasticsearchConnectionDetails.Builder keyId(String keyId)
-
nsgIds
public CreateElasticsearchConnectionDetails.Builder nsgIds(List<String> nsgIds)
-
subnetId
public CreateElasticsearchConnectionDetails.Builder subnetId(String subnetId)
-
routingMethod
public CreateElasticsearchConnectionDetails.Builder routingMethod(RoutingMethod routingMethod)
-
doesUseSecretIds
public CreateElasticsearchConnectionDetails.Builder doesUseSecretIds(Boolean doesUseSecretIds)
-
technologyType
public CreateElasticsearchConnectionDetails.Builder technologyType(ElasticsearchConnection.TechnologyType technologyType)
The Elasticsearch technology type.- Parameters:
technologyType
- the value to set- Returns:
- this builder
-
servers
public CreateElasticsearchConnectionDetails.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 CreateElasticsearchConnectionDetails.Builder securityProtocol(ElasticsearchConnection.SecurityProtocol securityProtocol)
Security protocol for Elasticsearch.- Parameters:
securityProtocol
- the value to set- Returns:
- this builder
-
authenticationType
public CreateElasticsearchConnectionDetails.Builder authenticationType(ElasticsearchConnection.AuthenticationType authenticationType)
Authentication type for Elasticsearch.- Parameters:
authenticationType
- the value to set- Returns:
- this builder
-
username
public CreateElasticsearchConnectionDetails.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 CreateElasticsearchConnectionDetails.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 CreateElasticsearchConnectionDetails.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
-
fingerprint
public CreateElasticsearchConnectionDetails.Builder fingerprint(String fingerprint)
Fingerprint required by TLS security protocol.Eg.: ‘6152b2dfbff200f973c5074a5b91d06ab3b472c07c09a1ea57bb7fd406cdce9c’
- Parameters:
fingerprint
- the value to set- Returns:
- this builder
-
build
public CreateElasticsearchConnectionDetails build()
-
copy
public CreateElasticsearchConnectionDetails.Builder copy(CreateElasticsearchConnectionDetails model)
-
-