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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description FirehoseAction.BuilderdeliveryStreamName(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.FirehoseAction.Builderpayload(Payload payload)You can configure the action payload when you send a message to an Amazon Kinesis Data Firehose delivery stream.FirehoseAction.Builderseparator(String separator)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 Detail
-
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 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:
payload(Payload)
-
-