Interface FirehoseAction.Builder

All Superinterfaces:
Buildable, CopyableBuilder<FirehoseAction.Builder,FirehoseAction>, SdkBuilder<FirehoseAction.Builder,FirehoseAction>, SdkPojo
Enclosing class:
FirehoseAction

public static interface FirehoseAction.Builder extends SdkPojo, CopyableBuilder<FirehoseAction.Builder,FirehoseAction>
  • Method Details

    • deliveryStreamName

      FirehoseAction.Builder deliveryStreamName(String deliveryStreamName)

      The name of the Kinesis Data Firehose delivery stream where the data is written.

      Parameters:
      deliveryStreamName - The name of the Kinesis Data Firehose delivery stream where the data is written.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • separator

      FirehoseAction.Builder separator(String separator)

      A character separator that is used to separate records written to the Kinesis Data Firehose delivery stream. Valid values are: '\n' (newline), '\t' (tab), '\r\n' (Windows newline), ',' (comma).

      Parameters:
      separator - A character separator that is used to separate records written to the Kinesis Data Firehose delivery stream. Valid values are: '\n' (newline), '\t' (tab), '\r\n' (Windows newline), ',' (comma).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • payload

      FirehoseAction.Builder payload(Payload payload)

      You can configure the action payload when you send a message to an Amazon Kinesis Data Firehose delivery stream.

      Parameters:
      payload - You can configure the action payload when you send a message to an Amazon Kinesis Data Firehose delivery stream.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • payload

      default FirehoseAction.Builder payload(Consumer<Payload.Builder> payload)

      You can configure the action payload when you send a message to an Amazon Kinesis Data Firehose delivery stream.

      This is a convenience method that creates an instance of the Payload.Builder avoiding the need to create one manually via Payload.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to payload(Payload).

      Parameters:
      payload - a consumer that will call methods on Payload.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: