public ModifyServerlessCacheRequest withUserGroupId(String userGroupId) {
        setUserGroupId(userGroupId);
        return this;
    }
<p>
The identifier of the UserGroup to be associated with the serverless cache. Available for Redis OSS only. Default
is NULL - the existing UserGroup is not removed.
</p>

@param userGroupId
       The identifier of the UserGroup to be associated with the serverless cache. Available for Redis OSS only.
       Default is NULL - the existing UserGroup is not removed.
@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/ModifyServerlessCacheRequest.java