Interface ListAssignmentsForHitRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListAssignmentsForHitRequest.Builder,
,ListAssignmentsForHitRequest> MTurkRequest.Builder
,SdkBuilder<ListAssignmentsForHitRequest.Builder,
,ListAssignmentsForHitRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListAssignmentsForHitRequest
public static interface ListAssignmentsForHitRequest.Builder
extends MTurkRequest.Builder, SdkPojo, CopyableBuilder<ListAssignmentsForHitRequest.Builder,ListAssignmentsForHitRequest>
-
Method Summary
Modifier and TypeMethodDescriptionassignmentStatuses
(Collection<AssignmentStatus> assignmentStatuses) The status of the assignments to return: Submitted | Approved | RejectedassignmentStatuses
(AssignmentStatus... assignmentStatuses) The status of the assignments to return: Submitted | Approved | RejectedassignmentStatusesWithStrings
(String... assignmentStatuses) The status of the assignments to return: Submitted | Approved | RejectedassignmentStatusesWithStrings
(Collection<String> assignmentStatuses) The status of the assignments to return: Submitted | Approved | RejectedThe ID of the HIT.maxResults
(Integer maxResults) Sets the value of the MaxResults property for this object.Pagination tokenoverrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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
-
hitId
The ID of the HIT.
- Parameters:
hitId
- The ID of the HIT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
Pagination token
- Parameters:
nextToken
- Pagination token- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
Sets the value of the MaxResults property for this object.- Parameters:
maxResults
- The new value for the MaxResults property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assignmentStatusesWithStrings
ListAssignmentsForHitRequest.Builder assignmentStatusesWithStrings(Collection<String> assignmentStatuses) The status of the assignments to return: Submitted | Approved | Rejected
- Parameters:
assignmentStatuses
- The status of the assignments to return: Submitted | Approved | Rejected- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assignmentStatusesWithStrings
The status of the assignments to return: Submitted | Approved | Rejected
- Parameters:
assignmentStatuses
- The status of the assignments to return: Submitted | Approved | Rejected- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assignmentStatuses
ListAssignmentsForHitRequest.Builder assignmentStatuses(Collection<AssignmentStatus> assignmentStatuses) The status of the assignments to return: Submitted | Approved | Rejected
- Parameters:
assignmentStatuses
- The status of the assignments to return: Submitted | Approved | Rejected- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assignmentStatuses
The status of the assignments to return: Submitted | Approved | Rejected
- Parameters:
assignmentStatuses
- The status of the assignments to return: Submitted | Approved | Rejected- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListAssignmentsForHitRequest.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
ListAssignmentsForHitRequest.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.
-