Interface ApproveAssignmentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ApproveAssignmentRequest.Builder,
,ApproveAssignmentRequest> MTurkRequest.Builder
,SdkBuilder<ApproveAssignmentRequest.Builder,
,ApproveAssignmentRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ApproveAssignmentRequest
public static interface ApproveAssignmentRequest.Builder
extends MTurkRequest.Builder, SdkPojo, CopyableBuilder<ApproveAssignmentRequest.Builder,ApproveAssignmentRequest>
-
Method Summary
Modifier and TypeMethodDescriptionassignmentId
(String assignmentId) The ID of the assignment.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.overrideRejection
(Boolean overrideRejection) A flag indicating that an assignment should be approved even if it was previously rejected.requesterFeedback
(String requesterFeedback) A message for the Worker, which the Worker can see in the Status section of the web site.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.mturk.model.MTurkRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
assignmentId
The ID of the assignment. The assignment must correspond to a HIT created by the Requester.
- Parameters:
assignmentId
- The ID of the assignment. The assignment must correspond to a HIT created by the Requester.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requesterFeedback
A message for the Worker, which the Worker can see in the Status section of the web site.
- Parameters:
requesterFeedback
- A message for the Worker, which the Worker can see in the Status section of the web site.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideRejection
A flag indicating that an assignment should be approved even if it was previously rejected. Defaults to
False
.- Parameters:
overrideRejection
- A flag indicating that an assignment should be approved even if it was previously rejected. Defaults toFalse
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ApproveAssignmentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ApproveAssignmentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-