Interface GetTokenResponse.Builder

  • Method Details

    • appId

      The app ID.

      Parameters:
      appId - The app ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • challengeCode

      GetTokenResponse.Builder challengeCode(String challengeCode)

      The one-time challenge code for authenticating into the Amplify Admin UI.

      Parameters:
      challengeCode - The one-time challenge code for authenticating into the Amplify Admin UI.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sessionId

      GetTokenResponse.Builder sessionId(String sessionId)

      A unique ID provided when creating a new challenge token.

      Parameters:
      sessionId - A unique ID provided when creating a new challenge token.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ttl

      The expiry time for the one-time generated token code.

      Parameters:
      ttl - The expiry time for the one-time generated token code.
      Returns:
      Returns a reference to this object so that method calls can be chained together.