public static final class LoginData.Builder
extends java.lang.Object
LoginData builder static inner class.| Modifier and Type | Method and Description |
|---|---|
LoginData |
build()
Returns a
LoginData built from the parameters previously set. |
LoginData.Builder |
setPassword(java.lang.String password)
Sets the
password and returns a reference to this Builder so that the methods can be chained together. |
LoginData.Builder |
setUsername(java.lang.String username)
Sets the
username and returns a reference to this Builder so that the methods can be chained together. |
public LoginData.Builder setUsername(java.lang.String username)
username and returns a reference to this Builder so that the methods can be chained together.username - the username to setpublic LoginData.Builder setPassword(java.lang.String password)
password and returns a reference to this Builder so that the methods can be chained together.password - the password to setpublic LoginData build()
LoginData built from the parameters previously set.LoginData built with parameters of this LoginData.Builder