forTenant

public Client.Builder forTenant(TenantId tenant)

Assigns the tenant for the client connection to be built.

This method should be called only in multitenant applications.

Parameters

tenant

a non-null and non-default ID of the tenant