Interface ExchangeCodeForTokenResponse.Builder

All Superinterfaces:
AmplifyUiBuilderResponse.Builder, AwsResponse.Builder, Buildable, CopyableBuilder<ExchangeCodeForTokenResponse.Builder,ExchangeCodeForTokenResponse>, SdkBuilder<ExchangeCodeForTokenResponse.Builder,ExchangeCodeForTokenResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
ExchangeCodeForTokenResponse

  • Method Details

    • 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

      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.