Interface FirehoseAction.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FirehoseAction.Builder,
,FirehoseAction> SdkBuilder<FirehoseAction.Builder,
,FirehoseAction> SdkPojo
- Enclosing class:
FirehoseAction
-
Method Summary
Modifier and TypeMethodDescriptionWhether to deliver the Kinesis Data Firehose stream as a batch by usingPutRecordBatch
.deliveryStreamName
(String deliveryStreamName) The delivery stream name.The IAM role that grants access to the Amazon Kinesis Firehose stream.A character separator that will be used to separate records written to the Firehose 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
-
roleArn
The IAM role that grants access to the Amazon Kinesis Firehose stream.
- Parameters:
roleArn
- The IAM role that grants access to the Amazon Kinesis Firehose stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deliveryStreamName
The delivery stream name.
- Parameters:
deliveryStreamName
- The delivery stream name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
separator
A character separator that will be used to separate records written to the Firehose stream. Valid values are: '\n' (newline), '\t' (tab), '\r\n' (Windows newline), ',' (comma).
- Parameters:
separator
- A character separator that will be used to separate records written to the Firehose 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.
-
batchMode
Whether to deliver the Kinesis Data Firehose stream as a batch by using
PutRecordBatch
. The default value isfalse
.When
batchMode
istrue
and the rule's SQL statement evaluates to an Array, each Array element forms one record in thePutRecordBatch
request. The resulting array can't have more than 500 records.- Parameters:
batchMode
- Whether to deliver the Kinesis Data Firehose stream as a batch by usingPutRecordBatch
. The default value isfalse
.When
batchMode
istrue
and the rule's SQL statement evaluates to an Array, each Array element forms one record in thePutRecordBatch
request. The resulting array can't have more than 500 records.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-