public CloudWatchLogsLogStream withBufferDuration(Integer bufferDuration) {
        setBufferDuration(bufferDuration);
        return this;
    }
<p>
Specifies the time duration for the batching of log events. The minimum value is 5000ms and default value is
5000ms.
</p>

@param bufferDuration
       Specifies the time duration for the batching of log events. The minimum value is 5000ms and default value
       is 5000ms.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-opsworks/src/main/java/com/amazonaws/services/opsworks/model/CloudWatchLogsLogStream.java