public static interface CreateAdditionalAssignmentsForHitRequest.Builder extends MTurkRequest.Builder, CopyableBuilder<CreateAdditionalAssignmentsForHitRequest.Builder,CreateAdditionalAssignmentsForHitRequest>
Modifier and Type | Method and Description |
---|---|
CreateAdditionalAssignmentsForHitRequest.Builder |
hitId(String hitId)
The ID of the HIT to extend.
|
CreateAdditionalAssignmentsForHitRequest.Builder |
numberOfAdditionalAssignments(Integer numberOfAdditionalAssignments)
The number of additional assignments to request for this HIT.
|
CreateAdditionalAssignmentsForHitRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateAdditionalAssignmentsForHitRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
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.
|
build
overrideConfiguration
copy
applyMutation, build
CreateAdditionalAssignmentsForHitRequest.Builder hitId(String hitId)
The ID of the HIT to extend.
hitId
- The ID of the HIT to extend.CreateAdditionalAssignmentsForHitRequest.Builder numberOfAdditionalAssignments(Integer numberOfAdditionalAssignments)
The number of additional assignments to request for this HIT.
numberOfAdditionalAssignments
- The number of additional assignments to request for this HIT.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.
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.CreateAdditionalAssignmentsForHitRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateAdditionalAssignmentsForHitRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.