public static class CreateKafkaSchemaRegistryConnectionDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public CreateKafkaSchemaRegistryConnectionDetails.Builder displayName(String displayName)
public CreateKafkaSchemaRegistryConnectionDetails.Builder description(String description)
public CreateKafkaSchemaRegistryConnectionDetails.Builder compartmentId(String compartmentId)
public CreateKafkaSchemaRegistryConnectionDetails.Builder freeformTags(Map<String,String> freeformTags)
public CreateKafkaSchemaRegistryConnectionDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
public CreateKafkaSchemaRegistryConnectionDetails.Builder locks(List<AddResourceLockDetails> locks)
public CreateKafkaSchemaRegistryConnectionDetails.Builder vaultId(String vaultId)
public CreateKafkaSchemaRegistryConnectionDetails.Builder keyId(String keyId)
public CreateKafkaSchemaRegistryConnectionDetails.Builder nsgIds(List<String> nsgIds)
public CreateKafkaSchemaRegistryConnectionDetails.Builder subnetId(String subnetId)
public CreateKafkaSchemaRegistryConnectionDetails.Builder routingMethod(RoutingMethod routingMethod)
public CreateKafkaSchemaRegistryConnectionDetails.Builder doesUseSecretIds(Boolean doesUseSecretIds)
public CreateKafkaSchemaRegistryConnectionDetails.Builder technologyType(KafkaSchemaRegistryConnection.TechnologyType technologyType)
The Kafka (e.g. Confluent) Schema Registry technology type.
technologyType
- the value to setpublic CreateKafkaSchemaRegistryConnectionDetails.Builder url(String url)
Kafka Schema Registry URL. e.g.: ‘https://server1.us.oracle.com:8081’
url
- the value to setpublic CreateKafkaSchemaRegistryConnectionDetails.Builder authenticationType(KafkaSchemaRegistryConnection.AuthenticationType authenticationType)
Used authentication mechanism to access Schema Registry.
authenticationType
- the value to setpublic CreateKafkaSchemaRegistryConnectionDetails.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 CreateKafkaSchemaRegistryConnectionDetails.Builder password(String password)
The password to access Schema Registry using basic authentication. This value is injected into ‘schema.registry.basic.auth.user.info=user:password’ configuration property.
password
- the value to setpublic CreateKafkaSchemaRegistryConnectionDetails.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 CreateKafkaSchemaRegistryConnectionDetails.Builder trustStore(String trustStore)
The base64 encoded content of the TrustStore file.
trustStore
- the value to setpublic CreateKafkaSchemaRegistryConnectionDetails.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 CreateKafkaSchemaRegistryConnectionDetails.Builder trustStorePassword(String trustStorePassword)
The TrustStore password.
trustStorePassword
- the value to setpublic CreateKafkaSchemaRegistryConnectionDetails.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 CreateKafkaSchemaRegistryConnectionDetails.Builder keyStore(String keyStore)
The base64 encoded content of the KeyStore file.
keyStore
- the value to setpublic CreateKafkaSchemaRegistryConnectionDetails.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 CreateKafkaSchemaRegistryConnectionDetails.Builder keyStorePassword(String keyStorePassword)
The KeyStore password.
keyStorePassword
- the value to setpublic CreateKafkaSchemaRegistryConnectionDetails.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 CreateKafkaSchemaRegistryConnectionDetails.Builder sslKeyPassword(String sslKeyPassword)
The password for the cert inside the KeyStore. In case it differs from the KeyStore password, it should be provided.
sslKeyPassword
- the value to setpublic CreateKafkaSchemaRegistryConnectionDetails.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 CreateKafkaSchemaRegistryConnectionDetails.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 CreateKafkaSchemaRegistryConnectionDetails build()
public CreateKafkaSchemaRegistryConnectionDetails.Builder copy(CreateKafkaSchemaRegistryConnectionDetails model)
Copyright © 2016–2024. All rights reserved.