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 Summary
Modifier and TypeMethodDescriptiondeliveryStreamName
(String deliveryStreamName) The name of the Kinesis Data Firehose delivery stream where the data is written.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.You can configure the action payload when you send a message to an Amazon Kinesis Data Firehose delivery stream.A character separator that is used to separate records written to the Kinesis Data Firehose delivery stream.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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
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 thePayload.Builder
avoiding the need to create one manually viaPayload.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topayload(Payload)
.- Parameters:
payload
- a consumer that will call methods onPayload.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-