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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListBonusPaymentsRequest.BuilderassignmentId(String assignmentId)The ID of the assignment associated with the bonus payments to retrieve.ListBonusPaymentsRequest.BuilderhitId(String hitId)The ID of the HIT associated with the bonus payments to retrieve.ListBonusPaymentsRequest.BuildermaxResults(Integer maxResults)Sets the value of the MaxResults property for this object.ListBonusPaymentsRequest.BuildernextToken(String nextToken)Pagination tokenListBonusPaymentsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListBonusPaymentsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
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
-
hitId
ListBonusPaymentsRequest.Builder hitId(String 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
ListBonusPaymentsRequest.Builder assignmentId(String 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
ListBonusPaymentsRequest.Builder nextToken(String nextToken)
Pagination token
- Parameters:
nextToken- Pagination token- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
ListBonusPaymentsRequest.Builder maxResults(Integer 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListBonusPaymentsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-