Interface CreateTokenResponse.Builder

    • Method Detail

      • appId

        CreateTokenResponse.Builder appId​(String 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

        CreateTokenResponse.Builder ttl​(String 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.