public static interface ApproveAssignmentRequest.Builder extends MTurkRequest.Builder, SdkPojo, CopyableBuilder<ApproveAssignmentRequest.Builder,ApproveAssignmentRequest>
Modifier and Type | Method and Description |
---|---|
ApproveAssignmentRequest.Builder |
assignmentId(String assignmentId)
The ID of the assignment.
|
ApproveAssignmentRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
ApproveAssignmentRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
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.
|
build
overrideConfiguration
copy
applyMutation, build
ApproveAssignmentRequest.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 overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.ApproveAssignmentRequest.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.