public Integer getBatchSize() {
        return this.batchSize;
    }
<p>
Specifies the maximum size of log events in a batch, in bytes, up to 1048576 bytes. The default value is 32768
bytes. This size is calculated as the sum of all event messages in UTF-8, plus 26 bytes for each log event.
</p>

@return Specifies the maximum size of log events in a batch, in bytes, up to 1048576 bytes. The default value is
        32768 bytes. This size is calculated as the sum of all event messages in UTF-8, plus 26 bytes for each
        log event.
aws-java-sdk-opsworks/src/main/java/com/amazonaws/services/opsworks/model/CloudWatchLogsLogStream.java