public void setBatchMode(Boolean batchMode) {
        this.batchMode = batchMode;
    }
<p>
Whether to deliver the Kinesis Data Firehose stream as a batch by using <a
href="https://docs.aws.amazon.com/firehose/latest/APIReference/API_PutRecordBatch.html">
<code>PutRecordBatch</code> </a>. The default value is <code>false</code>.
</p>
<p>
When <code>batchMode</code> is <code>true</code> and the rule's SQL statement evaluates to an Array, each Array
element forms one record in the <a
href="https://docs.aws.amazon.com/firehose/latest/APIReference/API_PutRecordBatch.html">
<code>PutRecordBatch</code> </a> request. The resulting array can't have more than 500 records.
</p>

@param batchMode
       Whether to deliver the Kinesis Data Firehose stream as a batch by using <a
       href="https://docs.aws.amazon.com/firehose/latest/APIReference/API_PutRecordBatch.html">
       <code>PutRecordBatch</code> </a>. The default value is <code>false</code>.</p>
       <p>
       When <code>batchMode</code> is <code>true</code> and the rule's SQL statement evaluates to an Array, each
       Array element forms one record in the <a
       href="https://docs.aws.amazon.com/firehose/latest/APIReference/API_PutRecordBatch.html">
       <code>PutRecordBatch</code> </a> request. The resulting array can't have more than 500 records.
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/FirehoseAction.java