public static interface AuthenticationResultType.Builder extends CopyableBuilder<AuthenticationResultType.Builder,AuthenticationResultType>
Modifier and Type | Method and Description |
---|---|
AuthenticationResultType.Builder |
accessToken(String accessToken)
The access token of the authentication result.
|
AuthenticationResultType.Builder |
expiresIn(Integer expiresIn)
The expiration period of the authentication result.
|
AuthenticationResultType.Builder |
idToken(String idToken)
The ID token of the authentication result.
|
default AuthenticationResultType.Builder |
newDeviceMetadata(Consumer<NewDeviceMetadataType.Builder> newDeviceMetadata)
The new device metadata from an authentication result.
|
AuthenticationResultType.Builder |
newDeviceMetadata(NewDeviceMetadataType newDeviceMetadata)
The new device metadata from an authentication result.
|
AuthenticationResultType.Builder |
refreshToken(String refreshToken)
The refresh token of the authentication result.
|
AuthenticationResultType.Builder |
tokenType(String tokenType)
The token type of the authentication result.
|
copy
applyMutation, build
AuthenticationResultType.Builder accessToken(String accessToken)
The access token of the authentication result.
accessToken
- The access token of the authentication result.AuthenticationResultType.Builder expiresIn(Integer expiresIn)
The expiration period of the authentication result.
expiresIn
- The expiration period of the authentication result.AuthenticationResultType.Builder tokenType(String tokenType)
The token type of the authentication result.
tokenType
- The token type of the authentication result.AuthenticationResultType.Builder refreshToken(String refreshToken)
The refresh token of the authentication result.
refreshToken
- The refresh token of the authentication result.AuthenticationResultType.Builder idToken(String idToken)
The ID token of the authentication result.
idToken
- The ID token of the authentication result.AuthenticationResultType.Builder newDeviceMetadata(NewDeviceMetadataType newDeviceMetadata)
The new device metadata from an authentication result.
newDeviceMetadata
- The new device metadata from an authentication result.default AuthenticationResultType.Builder newDeviceMetadata(Consumer<NewDeviceMetadataType.Builder> newDeviceMetadata)
The new device metadata from an authentication result.
This is a convenience that creates an instance of theNewDeviceMetadataType.Builder
avoiding the need
to create one manually via NewDeviceMetadataType.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to newDeviceMetadata(NewDeviceMetadataType)
.newDeviceMetadata
- a consumer that will call methods on NewDeviceMetadataType.Builder
newDeviceMetadata(NewDeviceMetadataType)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.