public UserGroup withServerlessCaches(java.util.Collection<String> serverlessCaches) {
        setServerlessCaches(serverlessCaches);
        return this;
    }
<p>
Indicates which serverless caches the specified user group is associated with. Available for Redis OSS and
Serverless Memcached only.
</p>

@param serverlessCaches
       Indicates which serverless caches the specified user group is associated with. Available for Redis OSS and
       Serverless Memcached only.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-elasticache/src/main/java/com/amazonaws/services/elasticache/model/UserGroup.java