public static interface ListAssignmentsForHitResponse.Builder extends MTurkResponse.Builder, SdkPojo, 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, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListAssignmentsForHitResponse.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 method that creates an instance of theAssignment.Builder avoiding the need to create one
manually via Assignment.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #assignments(List.
assignments - a consumer that will call methods on
Assignment.Builder#assignments(java.util.Collection) Copyright © 2023. All rights reserved.