Interface VerifySoftwareTokenRequest.Builder

  • Method Details

    • accessToken

      VerifySoftwareTokenRequest.Builder accessToken(String accessToken)

      A valid access token that Amazon Cognito issued to the currently signed-in user. Must include a scope claim for aws.cognito.signin.user.admin.

      Parameters:
      accessToken - A valid access token that Amazon Cognito issued to the currently signed-in user. Must include a scope claim for aws.cognito.signin.user.admin.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • session

      The session ID from an AssociateSoftwareToken request.

      Parameters:
      session - The session ID from an AssociateSoftwareToken request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • userCode

      A TOTP that the user generated in their configured authenticator app.

      Parameters:
      userCode - A TOTP that the user generated in their configured authenticator app.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • friendlyDeviceName

      VerifySoftwareTokenRequest.Builder friendlyDeviceName(String friendlyDeviceName)

      A friendly name for the device that's running the TOTP authenticator.

      Parameters:
      friendlyDeviceName - A friendly name for the device that's running the TOTP authenticator.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      VerifySoftwareTokenRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.