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 |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
CreateAdditionalAssignmentsForHITRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.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
requestOverrideConfig
copy
apply, 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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.CreateAdditionalAssignmentsForHITRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.