public ModelPackageStatusDetails withValidationStatuses(ModelPackageStatusItem... validationStatuses) {
        if (this.validationStatuses == null) {
            setValidationStatuses(new java.util.ArrayList<ModelPackageStatusItem>(validationStatuses.length));
        }
        for (ModelPackageStatusItem ele : validationStatuses) {
            this.validationStatuses.add(ele);
        }
        return this;
    }
<p>
The validation status of the model package.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setValidationStatuses(java.util.Collection)} or {@link #withValidationStatuses(java.util.Collection)} if
you want to override the existing values.
</p>

@param validationStatuses
       The validation status of the model package.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/ModelPackageStatusDetails.java