public DatasetSummary withTriggers(DatasetTrigger... triggers) {
        if (this.triggers == null) {
            setTriggers(new java.util.ArrayList<DatasetTrigger>(triggers.length));
        }
        for (DatasetTrigger ele : triggers) {
            this.triggers.add(ele);
        }
        return this;
    }
<p>
A list of triggers. A trigger causes dataset content to be populated at a specified time interval or when another
dataset is populated. The list of triggers can be empty or contain up to five <code>DataSetTrigger</code> objects
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setTriggers(java.util.Collection)} or {@link #withTriggers(java.util.Collection)} if you want to override
the existing values.
</p>

@param triggers
       A list of triggers. A trigger causes dataset content to be populated at a specified time interval or when
       another dataset is populated. The list of triggers can be empty or contain up to five
       <code>DataSetTrigger</code> objects
@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/DatasetSummary.java