Class CreateKafkaConnectionDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.goldengate.model.CreateKafkaConnectionDetails.Builder
 
- 
- Enclosing class:
- CreateKafkaConnectionDetails
 
 public static class CreateKafkaConnectionDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method Summary
 
- 
- 
- 
Method Detail- 
displayNamepublic CreateKafkaConnectionDetails.Builder displayName(String displayName) 
 - 
descriptionpublic CreateKafkaConnectionDetails.Builder description(String description) 
 - 
compartmentIdpublic CreateKafkaConnectionDetails.Builder compartmentId(String compartmentId) 
 - 
freeformTagspublic CreateKafkaConnectionDetails.Builder freeformTags(Map<String,String> freeformTags) 
 - 
definedTagspublic CreateKafkaConnectionDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags) 
 - 
lockspublic CreateKafkaConnectionDetails.Builder locks(List<AddResourceLockDetails> locks) 
 - 
vaultIdpublic CreateKafkaConnectionDetails.Builder vaultId(String vaultId) 
 - 
keyIdpublic CreateKafkaConnectionDetails.Builder keyId(String keyId) 
 - 
nsgIdspublic CreateKafkaConnectionDetails.Builder nsgIds(List<String> nsgIds) 
 - 
subnetIdpublic CreateKafkaConnectionDetails.Builder subnetId(String subnetId) 
 - 
routingMethodpublic CreateKafkaConnectionDetails.Builder routingMethod(RoutingMethod routingMethod) 
 - 
doesUseSecretIdspublic CreateKafkaConnectionDetails.Builder doesUseSecretIds(Boolean doesUseSecretIds) 
 - 
subscriptionIdpublic CreateKafkaConnectionDetails.Builder subscriptionId(String subscriptionId) 
 - 
clusterPlacementGroupIdpublic CreateKafkaConnectionDetails.Builder clusterPlacementGroupId(String clusterPlacementGroupId) 
 - 
securityAttributespublic CreateKafkaConnectionDetails.Builder securityAttributes(Map<String,Map<String,Object>> securityAttributes) 
 - 
technologyTypepublic CreateKafkaConnectionDetails.Builder technologyType(KafkaConnection.TechnologyType technologyType) The Kafka technology type.- Parameters:
- technologyType- the value to set
- Returns:
- this builder
 
 - 
streamPoolIdpublic CreateKafkaConnectionDetails.Builder streamPoolId(String streamPoolId) The OCID of the stream pool being referenced.- Parameters:
- streamPoolId- the value to set
- Returns:
- this builder
 
 - 
clusterIdpublic CreateKafkaConnectionDetails.Builder clusterId(String clusterId) The OCID of the Kafka cluster being referenced from OCI Streaming with Apache Kafka.- Parameters:
- clusterId- the value to set
- Returns:
- this builder
 
 - 
bootstrapServerspublic 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” - Parameters:
- bootstrapServers- the value to set
- Returns:
- this builder
 
 - 
securityProtocolpublic CreateKafkaConnectionDetails.Builder securityProtocol(KafkaConnection.SecurityProtocol securityProtocol) Security Type for Kafka.- Parameters:
- securityProtocol- the value to set
- Returns:
- this builder
 
 - 
usernamepublic 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. - Parameters:
- username- the value to set
- Returns:
- this builder
 
 - 
passwordpublic 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. 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
 
 - 
passwordSecretIdpublic 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. - Parameters:
- passwordSecretId- the value to set
- Returns:
- this builder
 
 - 
trustStorepublic CreateKafkaConnectionDetails.Builder trustStore(String trustStore) The base64 encoded content of the TrustStore file.Deprecated: This field is deprecated and replaced by “trustStoreSecretId”. This field will be removed after February 15 2026. - Parameters:
- trustStore- the value to set
- Returns:
- this builder
 
 - 
trustStoreSecretIdpublic 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. - Parameters:
- trustStoreSecretId- the value to set
- Returns:
- this builder
 
 - 
trustStorePasswordpublic CreateKafkaConnectionDetails.Builder trustStorePassword(String trustStorePassword) The TrustStore password.Deprecated: This field is deprecated and replaced by “trustStorePasswordSecretId”. This field will be removed after February 15 2026. - Parameters:
- trustStorePassword- the value to set
- Returns:
- this builder
 
 - 
trustStorePasswordSecretIdpublic 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. - Parameters:
- trustStorePasswordSecretId- the value to set
- Returns:
- this builder
 
 - 
keyStorepublic CreateKafkaConnectionDetails.Builder keyStore(String keyStore) The base64 encoded content of the KeyStore file.Deprecated: This field is deprecated and replaced by “keyStoreSecretId”. This field will be removed after February 15 2026. - Parameters:
- keyStore- the value to set
- Returns:
- this builder
 
 - 
keyStoreSecretIdpublic 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. - Parameters:
- keyStoreSecretId- the value to set
- Returns:
- this builder
 
 - 
keyStorePasswordpublic CreateKafkaConnectionDetails.Builder keyStorePassword(String keyStorePassword) The KeyStore password.Deprecated: This field is deprecated and replaced by “keyStorePasswordSecretId”. This field will be removed after February 15 2026. - Parameters:
- keyStorePassword- the value to set
- Returns:
- this builder
 
 - 
keyStorePasswordSecretIdpublic 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. - Parameters:
- keyStorePasswordSecretId- the value to set
- Returns:
- this builder
 
 - 
sslKeyPasswordpublic 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. Deprecated: This field is deprecated and replaced by “sslKeyPasswordSecretId”. This field will be removed after February 15 2026. - Parameters:
- sslKeyPassword- the value to set
- Returns:
- this builder
 
 - 
sslKeyPasswordSecretIdpublic 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. - Parameters:
- sslKeyPasswordSecretId- the value to set
- Returns:
- this builder
 
 - 
consumerPropertiespublic CreateKafkaConnectionDetails.Builder consumerProperties(String consumerProperties) The base64 encoded content of the consumer.properties file.- Parameters:
- consumerProperties- the value to set
- Returns:
- this builder
 
 - 
producerPropertiespublic CreateKafkaConnectionDetails.Builder producerProperties(String producerProperties) The base64 encoded content of the producer.properties file.- Parameters:
- producerProperties- the value to set
- Returns:
- this builder
 
 - 
shouldUseResourcePrincipalpublic CreateKafkaConnectionDetails.Builder shouldUseResourcePrincipal(Boolean shouldUseResourcePrincipal) Specifies that the user intends to authenticate to the instance using a resource principal.Applicable only for OCI Streaming connections. Only available from 23.9.0.0.0 GoldenGate versions. Note: When specified, ‘username’/‘password’/‘passwordSecretId’ fields must not be provided. Default: false - Parameters:
- shouldUseResourcePrincipal- the value to set
- Returns:
- this builder
 
 - 
buildpublic CreateKafkaConnectionDetails build() 
 - 
copypublic CreateKafkaConnectionDetails.Builder copy(CreateKafkaConnectionDetails model) 
 
- 
 
-