public static interface KafkaAction.Builder extends SdkPojo, CopyableBuilder<KafkaAction.Builder,KafkaAction>
| Modifier and Type | Method and Description |
|---|---|
KafkaAction.Builder |
clientProperties(Map<String,String> clientProperties)
Properties of the Apache Kafka producer client.
|
KafkaAction.Builder |
destinationArn(String destinationArn)
The ARN of Kafka action's VPC
TopicRuleDestination. |
KafkaAction.Builder |
headers(Collection<KafkaActionHeader> headers)
The list of Kafka headers that you specify.
|
KafkaAction.Builder |
headers(Consumer<KafkaActionHeader.Builder>... headers)
The list of Kafka headers that you specify.
|
KafkaAction.Builder |
headers(KafkaActionHeader... headers)
The list of Kafka headers that you specify.
|
KafkaAction.Builder |
key(String key)
The Kafka message key.
|
KafkaAction.Builder |
partition(String partition)
The Kafka message partition.
|
KafkaAction.Builder |
topic(String topic)
The Kafka topic for messages to be sent to the Kafka broker.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildKafkaAction.Builder destinationArn(String destinationArn)
The ARN of Kafka action's VPC TopicRuleDestination.
destinationArn - The ARN of Kafka action's VPC TopicRuleDestination.KafkaAction.Builder topic(String topic)
The Kafka topic for messages to be sent to the Kafka broker.
topic - The Kafka topic for messages to be sent to the Kafka broker.KafkaAction.Builder key(String key)
The Kafka message key.
key - The Kafka message key.KafkaAction.Builder partition(String partition)
The Kafka message partition.
partition - The Kafka message partition.KafkaAction.Builder clientProperties(Map<String,String> clientProperties)
Properties of the Apache Kafka producer client.
clientProperties - Properties of the Apache Kafka producer client.KafkaAction.Builder headers(Collection<KafkaActionHeader> headers)
The list of Kafka headers that you specify.
headers - The list of Kafka headers that you specify.KafkaAction.Builder headers(KafkaActionHeader... headers)
The list of Kafka headers that you specify.
headers - The list of Kafka headers that you specify.KafkaAction.Builder headers(Consumer<KafkaActionHeader.Builder>... headers)
The list of Kafka headers that you specify.
This is a convenience method that creates an instance of theKafkaActionHeader.Builder avoiding the need to create one
manually via KafkaActionHeader.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #headers(List.
headers - a consumer that will call methods on
KafkaActionHeader.Builder#headers(java.util.Collection) Copyright © 2023. All rights reserved.