public static final class GetTokenByOpenIdRequest.Builder extends Object
GetTokenByOpenIdRequest.
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 |
|---|---|
GetTokenByOpenIdRequest.Builder |
authorizationCode(String authorizationCode)
Initializes the value for the
authorizationCode attribute. |
GetTokenByOpenIdRequest |
build()
Builds a new
GetTokenByOpenIdRequest. |
GetTokenByOpenIdRequest.Builder |
clientId(String clientId)
Initializes the value for the
clientId attribute. |
GetTokenByOpenIdRequest.Builder |
clientSecret(String clientSecret)
Initializes the value for the
clientSecret attribute. |
GetTokenByOpenIdRequest.Builder |
from(GetTokenByOpenIdRequest instance)
Fill a builder with attribute values from the provided
GetTokenByOpenIdRequest instance. |
GetTokenByOpenIdRequest.Builder |
redirectUri(String redirectUri)
Initializes the value for the
redirectUri attribute. |
GetTokenByOpenIdRequest.Builder |
tokenFormat(TokenFormat tokenFormat)
Initializes the value for the
tokenFormat attribute. |
public final GetTokenByOpenIdRequest.Builder from(GetTokenByOpenIdRequest instance)
GetTokenByOpenIdRequest 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 GetTokenByOpenIdRequest.Builder authorizationCode(String authorizationCode)
authorizationCode attribute.authorizationCode - The value for authorizationCodethis builder for use in a chained invocationpublic final GetTokenByOpenIdRequest.Builder clientId(String clientId)
clientId attribute.clientId - The value for clientIdthis builder for use in a chained invocationpublic final GetTokenByOpenIdRequest.Builder clientSecret(String clientSecret)
clientSecret attribute.clientSecret - The value for clientSecretthis builder for use in a chained invocationpublic final GetTokenByOpenIdRequest.Builder redirectUri(String redirectUri)
redirectUri attribute.redirectUri - The value for redirectUri (can be null)this builder for use in a chained invocationpublic final GetTokenByOpenIdRequest.Builder tokenFormat(TokenFormat tokenFormat)
tokenFormat attribute.tokenFormat - The value for tokenFormat (can be null)this builder for use in a chained invocationpublic GetTokenByOpenIdRequest build()
GetTokenByOpenIdRequest.IllegalStateException - if any required attributes are missingCopyright © 2020. All rights reserved.