Interface RefreshTokenResponse.Builder

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

public static interface RefreshTokenResponse.Builder extends AmplifyUiBuilderResponse.Builder, SdkPojo, CopyableBuilder<RefreshTokenResponse.Builder,RefreshTokenResponse>
  • Method Details

    • accessToken

      RefreshTokenResponse.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

      RefreshTokenResponse.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.