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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExchangeCodeForTokenResponse.BuilderaccessToken(String accessToken)The access token.ExchangeCodeForTokenResponse.BuilderexpiresIn(Integer expiresIn)The date and time when the new access token expires.ExchangeCodeForTokenResponse.BuilderrefreshToken(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 Detail
-
accessToken
ExchangeCodeForTokenResponse.Builder accessToken(String 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
ExchangeCodeForTokenResponse.Builder expiresIn(Integer 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
ExchangeCodeForTokenResponse.Builder refreshToken(String 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.
-
-