public static interface ListAssignmentsForHitResponse.Builder extends MTurkResponse.Builder, CopyableBuilder<ListAssignmentsForHitResponse.Builder,ListAssignmentsForHitResponse>
Modifier and Type | Method and Description |
---|---|
ListAssignmentsForHitResponse.Builder |
assignments(Assignment... assignments)
The collection of Assignment data structures returned by this call.
|
ListAssignmentsForHitResponse.Builder |
assignments(Collection<Assignment> assignments)
The collection of Assignment data structures returned by this call.
|
ListAssignmentsForHitResponse.Builder |
assignments(Consumer<Assignment.Builder>... assignments)
The collection of Assignment data structures returned by this call.
|
ListAssignmentsForHitResponse.Builder |
nextToken(String nextToken)
Sets the value of the NextToken property for this object.
|
ListAssignmentsForHitResponse.Builder |
numResults(Integer numResults)
The number of assignments on the page in the filtered results list, equivalent to the number of assignments
returned by this call.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
ListAssignmentsForHitResponse.Builder nextToken(String nextToken)
nextToken
- The new value for the NextToken property for this object.ListAssignmentsForHitResponse.Builder numResults(Integer numResults)
The number of assignments on the page in the filtered results list, equivalent to the number of assignments returned by this call.
numResults
- The number of assignments on the page in the filtered results list, equivalent to the number of
assignments returned by this call.ListAssignmentsForHitResponse.Builder assignments(Collection<Assignment> assignments)
The collection of Assignment data structures returned by this call.
assignments
- The collection of Assignment data structures returned by this call.ListAssignmentsForHitResponse.Builder assignments(Assignment... assignments)
The collection of Assignment data structures returned by this call.
assignments
- The collection of Assignment data structures returned by this call.ListAssignmentsForHitResponse.Builder assignments(Consumer<Assignment.Builder>... assignments)
The collection of Assignment data structures returned by this call.
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 #assignments(List)
.assignments
- a consumer that will call methods on List.Builder
#assignments(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.