Interface ListBonusPaymentsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListBonusPaymentsRequest.Builder,
,ListBonusPaymentsRequest> MTurkRequest.Builder
,SdkBuilder<ListBonusPaymentsRequest.Builder,
,ListBonusPaymentsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListBonusPaymentsRequest
public static interface ListBonusPaymentsRequest.Builder
extends MTurkRequest.Builder, SdkPojo, CopyableBuilder<ListBonusPaymentsRequest.Builder,ListBonusPaymentsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionassignmentId
(String assignmentId) The ID of the assignment associated with the bonus payments to retrieve.The ID of the HIT associated with the bonus payments to retrieve.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 associated with the bonus payments to retrieve. If not specified, all bonus payments for all assignments for the given HIT are returned. Either the HITId parameter or the AssignmentId parameter must be specified
- Parameters:
hitId
- The ID of the HIT associated with the bonus payments to retrieve. If not specified, all bonus payments for all assignments for the given HIT are returned. Either the HITId parameter or the AssignmentId parameter must be specified- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assignmentId
The ID of the assignment associated with the bonus payments to retrieve. If specified, only bonus payments for the given assignment are returned. Either the HITId parameter or the AssignmentId parameter must be specified
- Parameters:
assignmentId
- The ID of the assignment associated with the bonus payments to retrieve. If specified, only bonus payments for the given assignment are returned. Either the HITId parameter or the AssignmentId parameter must be specified- 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.
-
overrideConfiguration
ListBonusPaymentsRequest.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
ListBonusPaymentsRequest.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.
-