Class KafkaConnectionSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.goldengate.model.KafkaConnectionSummary.Builder
-
- Enclosing class:
- KafkaConnectionSummary
public static class KafkaConnectionSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public KafkaConnectionSummary.Builder id(String id)
-
displayName
public KafkaConnectionSummary.Builder displayName(String displayName)
-
description
public KafkaConnectionSummary.Builder description(String description)
-
compartmentId
public KafkaConnectionSummary.Builder compartmentId(String compartmentId)
-
freeformTags
public KafkaConnectionSummary.Builder freeformTags(Map<String,String> freeformTags)
-
definedTags
public KafkaConnectionSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
-
systemTags
public KafkaConnectionSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
-
lifecycleState
public KafkaConnectionSummary.Builder lifecycleState(Connection.LifecycleState lifecycleState)
-
lifecycleDetails
public KafkaConnectionSummary.Builder lifecycleDetails(String lifecycleDetails)
-
timeCreated
public KafkaConnectionSummary.Builder timeCreated(Date timeCreated)
-
timeUpdated
public KafkaConnectionSummary.Builder timeUpdated(Date timeUpdated)
-
vaultId
public KafkaConnectionSummary.Builder vaultId(String vaultId)
-
keyId
public KafkaConnectionSummary.Builder keyId(String keyId)
-
ingressIps
public KafkaConnectionSummary.Builder ingressIps(List<IngressIpDetails> ingressIps)
-
nsgIds
public KafkaConnectionSummary.Builder nsgIds(List<String> nsgIds)
-
subnetId
public KafkaConnectionSummary.Builder subnetId(String subnetId)
-
routingMethod
public KafkaConnectionSummary.Builder routingMethod(RoutingMethod routingMethod)
-
locks
public KafkaConnectionSummary.Builder locks(List<ResourceLock> locks)
-
doesUseSecretIds
public KafkaConnectionSummary.Builder doesUseSecretIds(Boolean doesUseSecretIds)
-
technologyType
public KafkaConnectionSummary.Builder technologyType(KafkaConnection.TechnologyType technologyType)
The Kafka technology type.- Parameters:
technologyType
- the value to set- Returns:
- this builder
-
streamPoolId
public KafkaConnectionSummary.Builder streamPoolId(String streamPoolId)
The OCID of the stream pool being referenced.- Parameters:
streamPoolId
- the value to set- Returns:
- this builder
-
bootstrapServers
public KafkaConnectionSummary.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
-
securityProtocol
public KafkaConnectionSummary.Builder securityProtocol(KafkaConnection.SecurityProtocol securityProtocol)
Security Type for Kafka.- Parameters:
securityProtocol
- the value to set- Returns:
- this builder
-
username
public KafkaConnectionSummary.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
-
passwordSecretId
public KafkaConnectionSummary.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
-
trustStoreSecretId
public KafkaConnectionSummary.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
-
trustStorePasswordSecretId
public KafkaConnectionSummary.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
-
keyStoreSecretId
public KafkaConnectionSummary.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
-
keyStorePasswordSecretId
public KafkaConnectionSummary.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
-
sslKeyPasswordSecretId
public KafkaConnectionSummary.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
-
build
public KafkaConnectionSummary build()
-
copy
public KafkaConnectionSummary.Builder copy(KafkaConnectionSummary model)
-
-