Interface CreateAdditionalAssignmentsForHitRequest.Builder

  • Method Details

    • hitId

      The ID of the HIT to extend.

      Parameters:
      hitId - The ID of the HIT to extend.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • numberOfAdditionalAssignments

      CreateAdditionalAssignmentsForHitRequest.Builder numberOfAdditionalAssignments(Integer numberOfAdditionalAssignments)

      The number of additional assignments to request for this HIT.

      Parameters:
      numberOfAdditionalAssignments - The number of additional assignments to request for this HIT.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • uniqueRequestToken

      CreateAdditionalAssignmentsForHitRequest.Builder uniqueRequestToken(String uniqueRequestToken)

      A unique identifier for this request, which allows you to retry the call on error without extending the HIT multiple times. This is useful in cases such as network timeouts where it is unclear whether or not the call succeeded on the server. If the extend HIT already exists in the system from a previous call using the same UniqueRequestToken, subsequent calls will return an error with a message containing the request ID.

      Parameters:
      uniqueRequestToken - A unique identifier for this request, which allows you to retry the call on error without extending the HIT multiple times. This is useful in cases such as network timeouts where it is unclear whether or not the call succeeded on the server. If the extend HIT already exists in the system from a previous call using the same UniqueRequestToken, subsequent calls will return an error with a message containing the request ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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.