Interface ExchangeCodeForTokenResponse.Builder
- All Superinterfaces:
AmplifyUiBuilderResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<ExchangeCodeForTokenResponse.Builder,
,ExchangeCodeForTokenResponse> SdkBuilder<ExchangeCodeForTokenResponse.Builder,
,ExchangeCodeForTokenResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ExchangeCodeForTokenResponse
public static interface ExchangeCodeForTokenResponse.Builder
extends AmplifyUiBuilderResponse.Builder, SdkPojo, CopyableBuilder<ExchangeCodeForTokenResponse.Builder,ExchangeCodeForTokenResponse>
-
Method Summary
Modifier and TypeMethodDescriptionaccessToken
(String accessToken) The access token.The date and time when the new access token expires.refreshToken
(String refreshToken) The token to use to refresh a previously issued access token that might have expired.Methods inherited from interface software.amazon.awssdk.services.amplifyuibuilder.model.AmplifyUiBuilderResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
accessToken
The access token.
- Parameters:
accessToken
- The access token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expiresIn
The date and time when the new access token expires.
- Parameters:
expiresIn
- The date and time when the new access token expires.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
refreshToken
The token to use to refresh a previously issued access token that might have expired.
- Parameters:
refreshToken
- The token to use to refresh a previously issued access token that might have expired.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-