public ListCoverageResult withCoveredResources(CoveredResource... coveredResources) {
        if (this.coveredResources == null) {
            setCoveredResources(new java.util.ArrayList<CoveredResource>(coveredResources.length));
        }
        for (CoveredResource ele : coveredResources) {
            this.coveredResources.add(ele);
        }
        return this;
    }
<p>
An object that contains details on the covered resources in your environment.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setCoveredResources(java.util.Collection)} or {@link #withCoveredResources(java.util.Collection)} if you
want to override the existing values.
</p>

@param coveredResources
       An object that contains details on the covered resources in your environment.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-inspector2/src/main/java/com/amazonaws/services/inspector2/model/ListCoverageResult.java