Interface AssociateSoftwareTokenRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CognitoIdentityProviderRequest.Builder, CopyableBuilder<AssociateSoftwareTokenRequest.Builder,AssociateSoftwareTokenRequest>, SdkBuilder<AssociateSoftwareTokenRequest.Builder,AssociateSoftwareTokenRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
AssociateSoftwareTokenRequest

  • Method Details

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

      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 currently signed-in user. Must include a scope claim for aws.cognito.signin.user.admin.

      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

      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.
    • overrideConfiguration

      AssociateSoftwareTokenRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
    • overrideConfiguration

      Specified by:
      overrideConfiguration in interface AwsRequest.Builder