public static class KafkaSchemaRegistryConnection.Builder extends Object
Constructor and Description |
---|
Builder() |
public KafkaSchemaRegistryConnection.Builder id(String id)
public KafkaSchemaRegistryConnection.Builder displayName(String displayName)
public KafkaSchemaRegistryConnection.Builder description(String description)
public KafkaSchemaRegistryConnection.Builder compartmentId(String compartmentId)
public KafkaSchemaRegistryConnection.Builder freeformTags(Map<String,String> freeformTags)
public KafkaSchemaRegistryConnection.Builder definedTags(Map<String,Map<String,Object>> definedTags)
public KafkaSchemaRegistryConnection.Builder systemTags(Map<String,Map<String,Object>> systemTags)
public KafkaSchemaRegistryConnection.Builder lifecycleState(Connection.LifecycleState lifecycleState)
public KafkaSchemaRegistryConnection.Builder lifecycleDetails(String lifecycleDetails)
public KafkaSchemaRegistryConnection.Builder timeCreated(Date timeCreated)
public KafkaSchemaRegistryConnection.Builder timeUpdated(Date timeUpdated)
public KafkaSchemaRegistryConnection.Builder locks(List<ResourceLock> locks)
public KafkaSchemaRegistryConnection.Builder vaultId(String vaultId)
public KafkaSchemaRegistryConnection.Builder keyId(String keyId)
public KafkaSchemaRegistryConnection.Builder ingressIps(List<IngressIpDetails> ingressIps)
public KafkaSchemaRegistryConnection.Builder nsgIds(List<String> nsgIds)
public KafkaSchemaRegistryConnection.Builder subnetId(String subnetId)
public KafkaSchemaRegistryConnection.Builder routingMethod(RoutingMethod routingMethod)
public KafkaSchemaRegistryConnection.Builder doesUseSecretIds(Boolean doesUseSecretIds)
public KafkaSchemaRegistryConnection.Builder technologyType(KafkaSchemaRegistryConnection.TechnologyType technologyType)
The Kafka (e.g. Confluent) Schema Registry technology type.
technologyType
- the value to setpublic KafkaSchemaRegistryConnection.Builder url(String url)
Kafka Schema Registry URL. e.g.: ‘https://server1.us.oracle.com:8081’
url
- the value to setpublic KafkaSchemaRegistryConnection.Builder authenticationType(KafkaSchemaRegistryConnection.AuthenticationType authenticationType)
Used authentication mechanism to access Schema Registry.
authenticationType
- the value to setpublic 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.
username
- the value to setpublic 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.
privateIp
- the value to setpublic 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.
passwordSecretId
- the value to setpublic 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.
trustStoreSecretId
- the value to setpublic 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.
trustStorePasswordSecretId
- the value to setpublic 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.
keyStoreSecretId
- the value to setpublic 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.
keyStorePasswordSecretId
- the value to setpublic 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.
sslKeyPasswordSecretId
- the value to setpublic KafkaSchemaRegistryConnection build()
public KafkaSchemaRegistryConnection.Builder copy(KafkaSchemaRegistryConnection model)
Copyright © 2016–2024. All rights reserved.