public static class CreateKafkaConnectionDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public CreateKafkaConnectionDetails.Builder displayName(String displayName)
public CreateKafkaConnectionDetails.Builder description(String description)
public CreateKafkaConnectionDetails.Builder compartmentId(String compartmentId)
public CreateKafkaConnectionDetails.Builder freeformTags(Map<String,String> freeformTags)
public CreateKafkaConnectionDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
public CreateKafkaConnectionDetails.Builder locks(List<AddResourceLockDetails> locks)
public CreateKafkaConnectionDetails.Builder vaultId(String vaultId)
public CreateKafkaConnectionDetails.Builder keyId(String keyId)
public CreateKafkaConnectionDetails.Builder nsgIds(List<String> nsgIds)
public CreateKafkaConnectionDetails.Builder subnetId(String subnetId)
public CreateKafkaConnectionDetails.Builder routingMethod(RoutingMethod routingMethod)
public CreateKafkaConnectionDetails.Builder doesUseSecretIds(Boolean doesUseSecretIds)
public CreateKafkaConnectionDetails.Builder technologyType(KafkaConnection.TechnologyType technologyType)
The Kafka technology type.
technologyType
- the value to setpublic CreateKafkaConnectionDetails.Builder streamPoolId(String streamPoolId)
The OCID of the stream pool being referenced.
streamPoolId
- the value to setpublic CreateKafkaConnectionDetails.Builder bootstrapServers(List<KafkaBootstrapServer> bootstrapServers)
Kafka bootstrap. Equivalent of bootstrap.servers configuration property in Kafka: list of
KafkaBootstrapServer objects specified by host/port. Used for establishing the initial
connection to the Kafka cluster. Example: "server1.example.com:9092,server2.example.com:9092"
bootstrapServers
- the value to setpublic CreateKafkaConnectionDetails.Builder securityProtocol(KafkaConnection.SecurityProtocol securityProtocol)
Security Type for Kafka.
securityProtocol
- the value to setpublic CreateKafkaConnectionDetails.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.
username
- the value to setpublic CreateKafkaConnectionDetails.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.
password
- the value to setpublic CreateKafkaConnectionDetails.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.
passwordSecretId
- the value to setpublic CreateKafkaConnectionDetails.Builder trustStore(String trustStore)
The base64 encoded content of the TrustStore file.
trustStore
- the value to setpublic CreateKafkaConnectionDetails.Builder trustStoreSecretId(String trustStoreSecretId)
The OCID of the Secret where the content of the TrustStore file is stored. Note: When provided, ‘trustStore’ field must not be provided.
trustStoreSecretId
- the value to setpublic CreateKafkaConnectionDetails.Builder trustStorePassword(String trustStorePassword)
The TrustStore password.
trustStorePassword
- the value to setpublic CreateKafkaConnectionDetails.Builder trustStorePasswordSecretId(String trustStorePasswordSecretId)
The OCID of the Secret where the kafka TrustStore password is stored. Note: When provided, ‘trustStorePassword’ field must not be provided.
trustStorePasswordSecretId
- the value to setpublic CreateKafkaConnectionDetails.Builder keyStore(String keyStore)
The base64 encoded content of the KeyStore file.
keyStore
- the value to setpublic CreateKafkaConnectionDetails.Builder keyStoreSecretId(String keyStoreSecretId)
The OCID of the Secret where the content of the KeyStore file is stored. Note: When provided, ‘keyStore’ field must not be provided.
keyStoreSecretId
- the value to setpublic CreateKafkaConnectionDetails.Builder keyStorePassword(String keyStorePassword)
The KeyStore password.
keyStorePassword
- the value to setpublic CreateKafkaConnectionDetails.Builder keyStorePasswordSecretId(String keyStorePasswordSecretId)
The OCID of the Secret where the kafka KeyStore password is stored. Note: When provided, ‘keyStorePassword’ field must not be provided.
keyStorePasswordSecretId
- the value to setpublic CreateKafkaConnectionDetails.Builder sslKeyPassword(String sslKeyPassword)
The password for the cert inside of the KeyStore. In case it differs from the KeyStore password, it should be provided.
sslKeyPassword
- the value to setpublic CreateKafkaConnectionDetails.Builder sslKeyPasswordSecretId(String sslKeyPasswordSecretId)
The OCID of the Secret where the kafka Ssl Key password is stored. Note: When provided, ‘sslKeyPassword’ field must not be provided.
sslKeyPasswordSecretId
- the value to setpublic CreateKafkaConnectionDetails.Builder consumerProperties(String consumerProperties)
The base64 encoded content of the consumer.properties file.
consumerProperties
- the value to setpublic CreateKafkaConnectionDetails.Builder producerProperties(String producerProperties)
The base64 encoded content of the producer.properties file.
producerProperties
- the value to setpublic CreateKafkaConnectionDetails build()
public CreateKafkaConnectionDetails.Builder copy(CreateKafkaConnectionDetails model)
Copyright © 2016–2024. All rights reserved.