public UpdateExperimentTemplateRequest withStopConditions(UpdateExperimentTemplateStopConditionInput... stopConditions) {
        if (this.stopConditions == null) {
            setStopConditions(new java.util.ArrayList<UpdateExperimentTemplateStopConditionInput>(stopConditions.length));
        }
        for (UpdateExperimentTemplateStopConditionInput ele : stopConditions) {
            this.stopConditions.add(ele);
        }
        return this;
    }
<p>
The stop conditions for the experiment.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setStopConditions(java.util.Collection)} or {@link #withStopConditions(java.util.Collection)} if you want
to override the existing values.
</p>

@param stopConditions
       The stop conditions for the experiment.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-fis/src/main/java/com/amazonaws/services/fis/model/UpdateExperimentTemplateRequest.java