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