Interface ExchangeCodeForTokenResponse.Builder
- All Superinterfaces:
- AmplifyUiBuilderResponse.Builder,- AwsResponse.Builder,- Buildable,- CopyableBuilder<ExchangeCodeForTokenResponse.Builder,,- ExchangeCodeForTokenResponse> - SdkBuilder<ExchangeCodeForTokenResponse.Builder,,- ExchangeCodeForTokenResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- ExchangeCodeForTokenResponse
@Mutable
@NotThreadSafe
public static interface ExchangeCodeForTokenResponse.Builder
extends AmplifyUiBuilderResponse.Builder, SdkPojo, CopyableBuilder<ExchangeCodeForTokenResponse.Builder,ExchangeCodeForTokenResponse> 
- 
Method SummaryModifier 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.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
accessTokenThe access token. - Parameters:
- accessToken- The access token.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
expiresInThe 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.
 
- 
refreshTokenThe 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.
 
 
-