public VisualReferenceOutput withBaseScreenshots(BaseScreenshot... baseScreenshots) {
        if (this.baseScreenshots == null) {
            setBaseScreenshots(new java.util.ArrayList<BaseScreenshot>(baseScreenshots.length));
        }
        for (BaseScreenshot ele : baseScreenshots) {
            this.baseScreenshots.add(ele);
        }
        return this;
    }
<p>
An array of screenshots that are used as the baseline for comparisons during visual monitoring.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setBaseScreenshots(java.util.Collection)} or {@link #withBaseScreenshots(java.util.Collection)} if you
want to override the existing values.
</p>

@param baseScreenshots
       An array of screenshots that are used as the baseline for comparisons during visual monitoring.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-synthetics/src/main/java/com/amazonaws/services/synthetics/model/VisualReferenceOutput.java