Interface ListBonusPaymentsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListBonusPaymentsResponse.Builder,,ListBonusPaymentsResponse> MTurkResponse.Builder,SdkBuilder<ListBonusPaymentsResponse.Builder,,ListBonusPaymentsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListBonusPaymentsResponse
public static interface ListBonusPaymentsResponse.Builder
extends MTurkResponse.Builder, SdkPojo, CopyableBuilder<ListBonusPaymentsResponse.Builder,ListBonusPaymentsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionbonusPayments(Collection<BonusPayment> bonusPayments) A successful request to the ListBonusPayments operation returns a list of BonusPayment objects.bonusPayments(Consumer<BonusPayment.Builder>... bonusPayments) A successful request to the ListBonusPayments operation returns a list of BonusPayment objects.bonusPayments(BonusPayment... bonusPayments) A successful request to the ListBonusPayments operation returns a list of BonusPayment objects.Sets the value of the NextToken property for this object.numResults(Integer numResults) The number of bonus payments on this page in the filtered results list, equivalent to the number of bonus payments being returned by this call.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.mturk.model.MTurkResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
numResults
The number of bonus payments on this page in the filtered results list, equivalent to the number of bonus payments being returned by this call.
- Parameters:
numResults- The number of bonus payments on this page in the filtered results list, equivalent to the number of bonus payments being returned by this call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
Sets the value of the NextToken property for this object.- Parameters:
nextToken- The new value for the NextToken property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bonusPayments
A successful request to the ListBonusPayments operation returns a list of BonusPayment objects.
- Parameters:
bonusPayments- A successful request to the ListBonusPayments operation returns a list of BonusPayment objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bonusPayments
A successful request to the ListBonusPayments operation returns a list of BonusPayment objects.
- Parameters:
bonusPayments- A successful request to the ListBonusPayments operation returns a list of BonusPayment objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bonusPayments
A successful request to the ListBonusPayments operation returns a list of BonusPayment objects.
This is a convenience method that creates an instance of theBonusPayment.Builderavoiding the need to create one manually viaBonusPayment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobonusPayments(List<BonusPayment>).- Parameters:
bonusPayments- a consumer that will call methods onBonusPayment.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-