public static interface ListBonusPaymentsResponse.Builder extends MTurkResponse.Builder, SdkPojo, CopyableBuilder<ListBonusPaymentsResponse.Builder,ListBonusPaymentsResponse>
Modifier and Type | Method and Description |
---|---|
ListBonusPaymentsResponse.Builder |
bonusPayments(BonusPayment... bonusPayments)
A successful request to the ListBonusPayments operation returns a list of BonusPayment objects.
|
ListBonusPaymentsResponse.Builder |
bonusPayments(Collection<BonusPayment> bonusPayments)
A successful request to the ListBonusPayments operation returns a list of BonusPayment objects.
|
ListBonusPaymentsResponse.Builder |
bonusPayments(Consumer<BonusPayment.Builder>... bonusPayments)
A successful request to the ListBonusPayments operation returns a list of BonusPayment objects.
|
ListBonusPaymentsResponse.Builder |
nextToken(String nextToken)
Sets the value of the NextToken property for this object.
|
ListBonusPaymentsResponse.Builder |
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.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
ListBonusPaymentsResponse.Builder 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.
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.ListBonusPaymentsResponse.Builder nextToken(String nextToken)
nextToken
- The new value for the NextToken property for this object.ListBonusPaymentsResponse.Builder bonusPayments(Collection<BonusPayment> bonusPayments)
A successful request to the ListBonusPayments operation returns a list of BonusPayment objects.
bonusPayments
- A successful request to the ListBonusPayments operation returns a list of BonusPayment objects.ListBonusPaymentsResponse.Builder bonusPayments(BonusPayment... bonusPayments)
A successful request to the ListBonusPayments operation returns a list of BonusPayment objects.
bonusPayments
- A successful request to the ListBonusPayments operation returns a list of BonusPayment objects.ListBonusPaymentsResponse.Builder bonusPayments(Consumer<BonusPayment.Builder>... bonusPayments)
A successful request to the ListBonusPayments operation returns a list of BonusPayment objects.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #bonusPayments(List)
.bonusPayments
- a consumer that will call methods on List.Builder
#bonusPayments(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.