Interface AssociateSoftwareTokenRequest.Builder

    • Method Detail

      • accessToken

        AssociateSoftwareTokenRequest.Builder accessToken​(String accessToken)

        A valid access token that Amazon Cognito issued to the user whose software token you want to generate. You can provide either an access token or a session ID in the request.

        Parameters:
        accessToken - A valid access token that Amazon Cognito issued to the user whose software token you want to generate. You can provide either an access token or a session ID in the request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • session

        AssociateSoftwareTokenRequest.Builder session​(String session)

        The session identifier that maintains the state of authentication requests and challenge responses. In AssociateSoftwareToken, this is the session ID from a successful sign-in. You can provide either an access token or a session ID in the request.

        Parameters:
        session - The session identifier that maintains the state of authentication requests and challenge responses. In AssociateSoftwareToken, this is the session ID from a successful sign-in. You can provide either an access token or a session ID in the request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.