public UpdateDatasetRequest withLateDataRules(LateDataRule... lateDataRules) {
        if (this.lateDataRules == null) {
            setLateDataRules(new java.util.ArrayList<LateDataRule>(lateDataRules.length));
        }
        for (LateDataRule ele : lateDataRules) {
            this.lateDataRules.add(ele);
        }
        return this;
    }
<p>
A list of data rules that send notifications to CloudWatch, when data arrives late. To specify
<code>lateDataRules</code>, the dataset must use a <a
href="https://docs.aws.amazon.com/iotanalytics/latest/APIReference/API_DeltaTime.html">DeltaTimer</a> filter.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setLateDataRules(java.util.Collection)} or {@link #withLateDataRules(java.util.Collection)} if you want
to override the existing values.
</p>

@param lateDataRules
       A list of data rules that send notifications to CloudWatch, when data arrives late. To specify
       <code>lateDataRules</code>, the dataset must use a <a
       href="https://docs.aws.amazon.com/iotanalytics/latest/APIReference/API_DeltaTime.html">DeltaTimer</a>
       filter.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iotanalytics/src/main/java/com/amazonaws/services/iotanalytics/model/UpdateDatasetRequest.java