/** * Returns a new builder for creating an instance of this class. * * @param accountId The user's unique Dropbox ID. Must have length of at * least 40, have length of at most 40, and not be {@code null}. * @param name Details of a user's name. Must not be {@code null}. * @param email The user's e-mail address. Do not rely on this without * checking the {@link Account#getEmailVerified} field. Even then, it's * possible that the user has since lost access to their e-mail. Must * not be {@code null}. * @param emailVerified Whether the user has verified their e-mail address. * @param disabled Whether the user has been disabled. * @param isTeammate Whether this user is a teammate of the current user. * If this account is the current user's account, then this will be * {@code true}. * * @return builder for this class. * * @throws IllegalArgumentException If any argument does not meet its * preconditions. */ public static Builder newBuilder(String accountId, Name name, String email, boolean emailVerified, boolean disabled, boolean isTeammate) { return new Builder(accountId, name, email, emailVerified, disabled, isTeammate); }