public ImageLayerAggregation withLayerHashes(java.util.Collection<StringFilter> layerHashes) {
        setLayerHashes(layerHashes);
        return this;
    }
<p>
The hashes associated with the layers.
</p>

@param layerHashes
       The hashes associated with the layers.
@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/ImageLayerAggregation.java