public AnalysisTemplate withValidations(AnalysisTemplateValidationStatusDetail... validations) {
        if (this.validations == null) {
            setValidations(new java.util.ArrayList<AnalysisTemplateValidationStatusDetail>(validations.length));
        }
        for (AnalysisTemplateValidationStatusDetail ele : validations) {
            this.validations.add(ele);
        }
        return this;
    }
<p>
Information about the validations performed on the analysis template.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setValidations(java.util.Collection)} or {@link #withValidations(java.util.Collection)} if you want to
override the existing values.
</p>

@param validations
       Information about the validations performed on the analysis template.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cleanrooms/src/main/java/com/amazonaws/services/cleanrooms/model/AnalysisTemplate.java