Interface FirehoseAction.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<FirehoseAction.Builder,,FirehoseAction> SdkBuilder<FirehoseAction.Builder,,FirehoseAction> SdkPojo
- Enclosing class:
FirehoseAction
@Mutable
@NotThreadSafe
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.Builderpayload(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaPayload.builder().When the
Consumercompletes,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:
-