Class KafkaSchemaRegistryConnection.Builder
- java.lang.Object
-
- com.oracle.bmc.goldengate.model.KafkaSchemaRegistryConnection.Builder
-
- Enclosing class:
- KafkaSchemaRegistryConnection
public static class KafkaSchemaRegistryConnection.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public KafkaSchemaRegistryConnection.Builder id(String id)
-
displayName
public KafkaSchemaRegistryConnection.Builder displayName(String displayName)
-
description
public KafkaSchemaRegistryConnection.Builder description(String description)
-
compartmentId
public KafkaSchemaRegistryConnection.Builder compartmentId(String compartmentId)
-
freeformTags
public KafkaSchemaRegistryConnection.Builder freeformTags(Map<String,String> freeformTags)
-
definedTags
public KafkaSchemaRegistryConnection.Builder definedTags(Map<String,Map<String,Object>> definedTags)
-
systemTags
public KafkaSchemaRegistryConnection.Builder systemTags(Map<String,Map<String,Object>> systemTags)
-
lifecycleState
public KafkaSchemaRegistryConnection.Builder lifecycleState(Connection.LifecycleState lifecycleState)
-
lifecycleDetails
public KafkaSchemaRegistryConnection.Builder lifecycleDetails(String lifecycleDetails)
-
timeCreated
public KafkaSchemaRegistryConnection.Builder timeCreated(Date timeCreated)
-
timeUpdated
public KafkaSchemaRegistryConnection.Builder timeUpdated(Date timeUpdated)
-
locks
public KafkaSchemaRegistryConnection.Builder locks(List<ResourceLock> locks)
-
vaultId
public KafkaSchemaRegistryConnection.Builder vaultId(String vaultId)
-
keyId
public KafkaSchemaRegistryConnection.Builder keyId(String keyId)
-
ingressIps
public KafkaSchemaRegistryConnection.Builder ingressIps(List<IngressIpDetails> ingressIps)
-
nsgIds
public KafkaSchemaRegistryConnection.Builder nsgIds(List<String> nsgIds)
-
subnetId
public KafkaSchemaRegistryConnection.Builder subnetId(String subnetId)
-
routingMethod
public KafkaSchemaRegistryConnection.Builder routingMethod(RoutingMethod routingMethod)
-
doesUseSecretIds
public KafkaSchemaRegistryConnection.Builder doesUseSecretIds(Boolean doesUseSecretIds)
-
technologyType
public KafkaSchemaRegistryConnection.Builder technologyType(KafkaSchemaRegistryConnection.TechnologyType technologyType)
The Kafka (e.g.Confluent) Schema Registry technology type.
- Parameters:
technologyType
- the value to set- Returns:
- this builder
-
url
public KafkaSchemaRegistryConnection.Builder url(String url)
Kafka Schema Registry URL.e.g.: ‘https://server1.us.oracle.com:8081’
- Parameters:
url
- the value to set- Returns:
- this builder
-
authenticationType
public KafkaSchemaRegistryConnection.Builder authenticationType(KafkaSchemaRegistryConnection.AuthenticationType authenticationType)
Used authentication mechanism to access Schema Registry.- Parameters:
authenticationType
- the value to set- Returns:
- this builder
-
username
public KafkaSchemaRegistryConnection.Builder username(String username)
The username to access Schema Registry using basic authentication.This value is injected into ‘schema.registry.basic.auth.user.info=user:password’ configuration property.
- Parameters:
username
- the value to set- Returns:
- this builder
-
privateIp
public KafkaSchemaRegistryConnection.Builder privateIp(String privateIp)
Deprecated: this field will be removed in future versions.Either specify the private IP in the connectionString or host field, or make sure the host name is resolvable in the target VCN.
The private IP address of the connection's endpoint in the customer's VCN, typically a database endpoint or a big data endpoint (e.g. Kafka bootstrap server). In case the privateIp is provided, the subnetId must also be provided. In case the privateIp (and the subnetId) is not provided it is assumed the datasource is publicly accessible. In case the connection is accessible only privately, the lack of privateIp will result in not being able to access the connection.
- Parameters:
privateIp
- the value to set- Returns:
- this builder
-
passwordSecretId
public KafkaSchemaRegistryConnection.Builder passwordSecretId(String passwordSecretId)
The OCID of the Secret where the Kafka Schema Registry password is stored, The password to access Schema Registry using basic authentication.This value is injected into ‘schema.registry.basic.auth.user.info=user:password’ configuration property. Note: When provided, ‘password’ field must not be provided.
- Parameters:
passwordSecretId
- the value to set- Returns:
- this builder
-
trustStoreSecretId
public KafkaSchemaRegistryConnection.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 KafkaSchemaRegistryConnection.Builder trustStorePasswordSecretId(String trustStorePasswordSecretId)
The OCID of the Secret where the kafka Ssl TrustStore password is stored.Note: When provided, ‘trustStorePassword’ field must not be provided.
- Parameters:
trustStorePasswordSecretId
- the value to set- Returns:
- this builder
-
keyStoreSecretId
public KafkaSchemaRegistryConnection.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 KafkaSchemaRegistryConnection.Builder keyStorePasswordSecretId(String keyStorePasswordSecretId)
The OCID of the Secret where the kafka Ssl KeyStore password is stored.Note: When provided, ‘keyStorePassword’ field must not be provided.
- Parameters:
keyStorePasswordSecretId
- the value to set- Returns:
- this builder
-
sslKeyPasswordSecretId
public KafkaSchemaRegistryConnection.Builder sslKeyPasswordSecretId(String sslKeyPasswordSecretId)
The OCID of the Secret that stores the password for the cert inside the KeyStore.In case it differs from the KeyStore password, it should be provided. Note: When provided, ‘sslKeyPassword’ field must not be provided.
- Parameters:
sslKeyPasswordSecretId
- the value to set- Returns:
- this builder
-
build
public KafkaSchemaRegistryConnection build()
-
copy
public KafkaSchemaRegistryConnection.Builder copy(KafkaSchemaRegistryConnection model)
-
-