-
public class User.BuilderA builder that helps construct a User instance.
-
-
Method Summary
Modifier and Type Method Description User.Builderemail(String email)Optional. User.Buildercountry(String country)Optional. User.Buildercustom(Map<String, String> custom)Optional. Userbuild(String identifier)Builds the configured User instance. -
-
Method Detail
-
email
User.Builder email(String email)
Optional. Sets the email of the user.
- Parameters:
email- the email address.
-
country
User.Builder country(String country)
Optional. Sets the country of the user.
- Parameters:
country- the country.
-
custom
User.Builder custom(Map<String, String> custom)
Optional. Sets the custom attributes of a user
- Parameters:
custom- the custom attributes.
-
-
-
-