public ListLayerVersionsResult withLayerVersions(java.util.Collection<LayerVersionsListItem> layerVersions) {
        setLayerVersions(layerVersions);
        return this;
    }
<p>
A list of versions.
</p>

@param layerVersions
       A list of versions.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lambda/src/main/java/com/amazonaws/services/lambda/model/ListLayerVersionsResult.java