public static interface ApproveAssignmentRequest.Builder extends MTurkRequest.Builder, CopyableBuilder<ApproveAssignmentRequest.Builder,ApproveAssignmentRequest>
| Modifier and Type | Method and Description |
|---|---|
ApproveAssignmentRequest.Builder |
assignmentId(String assignmentId)
The ID of the assignment.
|
ApproveAssignmentRequest.Builder |
overrideRejection(Boolean overrideRejection)
A flag indicating that an assignment should be approved even if it was previously rejected.
|
ApproveAssignmentRequest.Builder |
requesterFeedback(String requesterFeedback)
A message for the Worker, which the Worker can see in the Status section of the web site.
|
ApproveAssignmentRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
ApproveAssignmentRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
buildrequestOverrideConfigcopyapply, buildApproveAssignmentRequest.Builder assignmentId(String assignmentId)
The ID of the assignment. The assignment must correspond to a HIT created by the Requester.
assignmentId - The ID of the assignment. The assignment must correspond to a HIT created by the Requester.ApproveAssignmentRequest.Builder requesterFeedback(String requesterFeedback)
A message for the Worker, which the Worker can see in the Status section of the web site.
requesterFeedback - A message for the Worker, which the Worker can see in the Status section of the web site.ApproveAssignmentRequest.Builder overrideRejection(Boolean overrideRejection)
A flag indicating that an assignment should be approved even if it was previously rejected. Defaults to
False.
overrideRejection - A flag indicating that an assignment should be approved even if it was previously rejected. Defaults
to False.ApproveAssignmentRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.ApproveAssignmentRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.