Interface CreateTokenResponse.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

      CreateTokenResponse.Builder challengeCode(String challengeCode)

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

      Parameters:
      challengeCode - 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

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