@Stability(value=Stable) public static final class CfnTopicRule.FirehoseActionProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnTopicRule.FirehoseActionProperty>
CfnTopicRule.FirehoseActionProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnTopicRule.FirehoseActionProperty.Builder |
batchMode(Boolean batchMode)
Sets the value of
CfnTopicRule.FirehoseActionProperty.getBatchMode() |
CfnTopicRule.FirehoseActionProperty.Builder |
batchMode(IResolvable batchMode)
Sets the value of
CfnTopicRule.FirehoseActionProperty.getBatchMode() |
CfnTopicRule.FirehoseActionProperty |
build()
Builds the configured instance.
|
CfnTopicRule.FirehoseActionProperty.Builder |
deliveryStreamName(String deliveryStreamName)
Sets the value of
CfnTopicRule.FirehoseActionProperty.getDeliveryStreamName() |
CfnTopicRule.FirehoseActionProperty.Builder |
roleArn(String roleArn)
Sets the value of
CfnTopicRule.FirehoseActionProperty.getRoleArn() |
CfnTopicRule.FirehoseActionProperty.Builder |
separator(String separator)
Sets the value of
CfnTopicRule.FirehoseActionProperty.getSeparator() |
@Stability(value=Stable) public CfnTopicRule.FirehoseActionProperty.Builder deliveryStreamName(String deliveryStreamName)
CfnTopicRule.FirehoseActionProperty.getDeliveryStreamName()deliveryStreamName - The delivery stream name. This parameter is required.this@Stability(value=Stable) public CfnTopicRule.FirehoseActionProperty.Builder roleArn(String roleArn)
CfnTopicRule.FirehoseActionProperty.getRoleArn()roleArn - The IAM role that grants access to the Amazon Kinesis Firehose stream. This parameter is required.this@Stability(value=Stable) public CfnTopicRule.FirehoseActionProperty.Builder batchMode(Boolean batchMode)
CfnTopicRule.FirehoseActionProperty.getBatchMode()batchMode - Whether to deliver the Kinesis Data Firehose stream as a batch by using [`PutRecordBatch`](https://docs.aws.amazon.com/firehose/latest/APIReference/API_PutRecordBatch.html) . The default value is `false` .
When batchMode is true and the rule's SQL statement evaluates to an Array, each Array element forms one record in the PutRecordBatch request. The resulting array can't have more than 500 records.this@Stability(value=Stable) public CfnTopicRule.FirehoseActionProperty.Builder batchMode(IResolvable batchMode)
CfnTopicRule.FirehoseActionProperty.getBatchMode()batchMode - Whether to deliver the Kinesis Data Firehose stream as a batch by using [`PutRecordBatch`](https://docs.aws.amazon.com/firehose/latest/APIReference/API_PutRecordBatch.html) . The default value is `false` .
When batchMode is true and the rule's SQL statement evaluates to an Array, each Array element forms one record in the PutRecordBatch request. The resulting array can't have more than 500 records.this@Stability(value=Stable) public CfnTopicRule.FirehoseActionProperty.Builder separator(String separator)
CfnTopicRule.FirehoseActionProperty.getSeparator()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).this@Stability(value=Stable) public CfnTopicRule.FirehoseActionProperty build()
build in interface software.amazon.jsii.Builder<CfnTopicRule.FirehoseActionProperty>CfnTopicRule.FirehoseActionPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.