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

@param imageScanStatuses
       The status of the scan of the Docker image container for 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