@Generated(value="software.amazon.awssdk:codegen") public final class KafkaAction extends Object implements SdkPojo, Serializable, ToCopyableBuilder<KafkaAction.Builder,KafkaAction>
Send messages to an Amazon Managed Streaming for Apache Kafka (Amazon MSK) or self-managed Apache Kafka cluster.
| Modifier and Type | Class and Description |
|---|---|
static interface |
KafkaAction.Builder |
| Modifier and Type | Method and Description |
|---|---|
static KafkaAction.Builder |
builder() |
Map<String,String> |
clientProperties()
Properties of the Apache Kafka producer client.
|
String |
destinationArn()
The ARN of Kafka action's VPC
TopicRuleDestination. |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasClientProperties()
Returns true if the ClientProperties property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
int |
hashCode() |
String |
key()
The Kafka message key.
|
String |
partition()
The Kafka message partition.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends KafkaAction.Builder> |
serializableBuilderClass() |
KafkaAction.Builder |
toBuilder() |
String |
topic()
The Kafka topic for messages to be sent to the Kafka broker.
|
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String destinationArn()
The ARN of Kafka action's VPC TopicRuleDestination.
TopicRuleDestination.public final String topic()
The Kafka topic for messages to be sent to the Kafka broker.
public final String key()
The Kafka message key.
public final String partition()
The Kafka message partition.
public final boolean hasClientProperties()
public final Map<String,String> clientProperties()
Properties of the Apache Kafka producer client.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasClientProperties() to see if a value was sent in this field.
public KafkaAction.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<KafkaAction.Builder,KafkaAction>public static KafkaAction.Builder builder()
public static Class<? extends KafkaAction.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.