Interface CreateAdditionalAssignmentsForHitRequest.Builder

    • Method Detail

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