Interface KafkaAction.Builder

    • Method Detail

      • destinationArn

        KafkaAction.Builder destinationArn​(String destinationArn)

        The ARN of Kafka action's VPC TopicRuleDestination.

        Parameters:
        destinationArn - The ARN of Kafka action's VPC TopicRuleDestination.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • topic

        KafkaAction.Builder topic​(String topic)

        The Kafka topic for messages to be sent to the Kafka broker.

        Parameters:
        topic - The Kafka topic for messages to be sent to the Kafka broker.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • key

        KafkaAction.Builder key​(String key)

        The Kafka message key.

        Parameters:
        key - The Kafka message key.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • partition

        KafkaAction.Builder partition​(String partition)

        The Kafka message partition.

        Parameters:
        partition - The Kafka message partition.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clientProperties

        KafkaAction.Builder clientProperties​(Map<String,​String> clientProperties)

        Properties of the Apache Kafka producer client.

        Parameters:
        clientProperties - Properties of the Apache Kafka producer client.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • headers

        KafkaAction.Builder headers​(Collection<KafkaActionHeader> headers)

        The list of Kafka headers that you specify.

        Parameters:
        headers - The list of Kafka headers that you specify.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • headers

        KafkaAction.Builder headers​(KafkaActionHeader... headers)

        The list of Kafka headers that you specify.

        Parameters:
        headers - The list of Kafka headers that you specify.
        Returns:
        Returns a reference to this object so that method calls can be chained together.