public AssetSummary withHashes(java.util.Map<String, String> hashes) {
        setHashes(hashes);
        return this;
    }
<p>
The hashes of the asset.
</p>

@param hashes
       The hashes of the asset.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codeartifact/src/main/java/com/amazonaws/services/codeartifact/model/AssetSummary.java