public static final class GetAutoLoginAuthenticationCodeRequest.Builder extends Object
GetAutoLoginAuthenticationCodeRequest.
Initialize attributes and then invoke the build() method to create an
immutable instance.
Builder is not thread-safe and generally should not be stored in a field or collection,
but instead used immediately to create instances.
| Modifier and Type | Method and Description |
|---|---|
GetAutoLoginAuthenticationCodeRequest |
build()
Builds a new
GetAutoLoginAuthenticationCodeRequest. |
GetAutoLoginAuthenticationCodeRequest.Builder |
clientId(String clientId)
Initializes the value for the
clientId attribute. |
GetAutoLoginAuthenticationCodeRequest.Builder |
clientSecret(String clientSecret)
Initializes the value for the
clientSecret attribute. |
GetAutoLoginAuthenticationCodeRequest.Builder |
from(GetAutoLoginAuthenticationCodeRequest instance)
Fill a builder with attribute values from the provided
GetAutoLoginAuthenticationCodeRequest instance. |
GetAutoLoginAuthenticationCodeRequest.Builder |
password(String password)
Initializes the value for the
password attribute. |
GetAutoLoginAuthenticationCodeRequest.Builder |
username(String username)
Initializes the value for the
username attribute. |
public final GetAutoLoginAuthenticationCodeRequest.Builder from(GetAutoLoginAuthenticationCodeRequest instance)
GetAutoLoginAuthenticationCodeRequest instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final GetAutoLoginAuthenticationCodeRequest.Builder clientId(String clientId)
clientId attribute.clientId - The value for clientIdthis builder for use in a chained invocationpublic final GetAutoLoginAuthenticationCodeRequest.Builder clientSecret(String clientSecret)
clientSecret attribute.clientSecret - The value for clientSecretthis builder for use in a chained invocationpublic final GetAutoLoginAuthenticationCodeRequest.Builder password(String password)
password attribute.password - The value for passwordthis builder for use in a chained invocationpublic final GetAutoLoginAuthenticationCodeRequest.Builder username(String username)
username attribute.username - The value for usernamethis builder for use in a chained invocationpublic GetAutoLoginAuthenticationCodeRequest build()
GetAutoLoginAuthenticationCodeRequest.IllegalStateException - if any required attributes are missingCopyright © 2020. All rights reserved.