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 Modifier and Type Method Description FirehoseAction.BuilderbatchMode(Boolean batchMode)Whether to deliver the Kinesis Data Firehose stream as a batch by usingPutRecordBatch.FirehoseAction.BuilderdeliveryStreamName(String deliveryStreamName)The delivery stream name.FirehoseAction.BuilderroleArn(String roleArn)The IAM role that grants access to the Amazon Kinesis Firehose stream.FirehoseAction.Builderseparator(String separator)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 Detail
-
roleArn
FirehoseAction.Builder roleArn(String 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
FirehoseAction.Builder deliveryStreamName(String 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
FirehoseAction.Builder separator(String 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
FirehoseAction.Builder batchMode(Boolean batchMode)
Whether to deliver the Kinesis Data Firehose stream as a batch by using
PutRecordBatch. The default value isfalse.When
batchModeistrueand the rule's SQL statement evaluates to an Array, each Array element forms one record in thePutRecordBatchrequest. 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
batchModeistrueand the rule's SQL statement evaluates to an Array, each Array element forms one record in thePutRecordBatchrequest. 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.
-
-