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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ApproveAssignmentRequest.BuilderassignmentId(String assignmentId)The ID of the assignment.ApproveAssignmentRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ApproveAssignmentRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ApproveAssignmentRequest.BuilderoverrideRejection(Boolean overrideRejection)A flag indicating that an assignment should be approved even if it was previously rejected.ApproveAssignmentRequest.BuilderrequesterFeedback(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 Detail
-
assignmentId
ApproveAssignmentRequest.Builder assignmentId(String 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
ApproveAssignmentRequest.Builder requesterFeedback(String 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
ApproveAssignmentRequest.Builder overrideRejection(Boolean 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ApproveAssignmentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-