public static final class Registration.Builder extends Object
| Modifier and Type | Method and Description |
|---|---|
Registration |
build()
Builds the registration.
|
Registration.Builder |
city(String city)
Sets the city.
|
Registration.Builder |
date(String date)
Sets the date, e.g. birth date.
|
Registration.Builder |
email(String email)
Sets the email.
|
Registration.Builder |
familyName(String familyName)
Sets the family name.
|
Registration.Builder |
givenName(String givenName)
Sets the given name.
|
Registration.Builder |
instructions(String instructions)
Sets the instructions.
|
Registration.Builder |
name(String name)
Sets the name.
|
Registration.Builder |
nickname(String nickname)
Sets the nickname.
|
Registration.Builder |
password(String password)
Sets the password.
|
Registration.Builder |
phone(String phone)
Sets the phone.
|
Registration.Builder |
postalCode(String postalCode)
Sets the postal code.
|
Registration.Builder |
region(String region)
Sets the region, e.g. state.
|
Registration.Builder |
registrationForm(DataForm dataForm)
Sets the extended registration form.
|
Registration.Builder |
street(String street)
The street.
|
Registration.Builder |
url(URL url)
Sets the URL.
|
Registration.Builder |
username(String username)
Sets the username.
|
Registration.Builder |
webRegistration(URL url)
Sets the web registration URL.
|
public Registration.Builder instructions(String instructions)
instructions - The instructions.public Registration.Builder username(String username)
username - The username.public Registration.Builder password(String password)
password - The password.public Registration.Builder nickname(String nickname)
nickname - The nickname.public Registration.Builder name(String name)
name - The name.public Registration.Builder givenName(String givenName)
givenName - The given name.public Registration.Builder familyName(String familyName)
familyName - The family name.public Registration.Builder email(String email)
email - The email address.public Registration.Builder street(String street)
street - The street.public Registration.Builder city(String city)
city - The city.public Registration.Builder region(String region)
region - The region.public Registration.Builder postalCode(String postalCode)
postalCode - The postal code.public Registration.Builder phone(String phone)
phone - The phone.public Registration.Builder url(URL url)
url - The URL.public Registration.Builder date(String date)
date - The date.public Registration.Builder registrationForm(DataForm dataForm)
dataForm - The data form.public Registration.Builder webRegistration(URL url)
url - The url.public Registration build()
Copyright © 2014–2016 XMPP.rocks. All rights reserved.