Interface ListAssignmentsForHitResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListAssignmentsForHitResponse.Builder,ListAssignmentsForHitResponse>,MTurkResponse.Builder,SdkBuilder<ListAssignmentsForHitResponse.Builder,ListAssignmentsForHitResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListAssignmentsForHitResponse
public static interface ListAssignmentsForHitResponse.Builder extends MTurkResponse.Builder, SdkPojo, CopyableBuilder<ListAssignmentsForHitResponse.Builder,ListAssignmentsForHitResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAssignmentsForHitResponse.Builderassignments(Collection<Assignment> assignments)The collection of Assignment data structures returned by this call.ListAssignmentsForHitResponse.Builderassignments(Consumer<Assignment.Builder>... assignments)The collection of Assignment data structures returned by this call.ListAssignmentsForHitResponse.Builderassignments(Assignment... assignments)The collection of Assignment data structures returned by this call.ListAssignmentsForHitResponse.BuildernextToken(String nextToken)Sets the value of the NextToken property for this object.ListAssignmentsForHitResponse.BuildernumResults(Integer numResults)The number of assignments on the page in the filtered results list, equivalent to the number of assignments returned by this call.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.mturk.model.MTurkResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
nextToken
ListAssignmentsForHitResponse.Builder nextToken(String 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.
-
numResults
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.
- Parameters:
numResults- The number of assignments on the page in the filtered results list, equivalent to the number of assignments returned by this call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assignments
ListAssignmentsForHitResponse.Builder assignments(Collection<Assignment> assignments)
The collection of Assignment data structures returned by this call.
- Parameters:
assignments- The collection of Assignment data structures returned by this call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assignments
ListAssignmentsForHitResponse.Builder assignments(Assignment... assignments)
The collection of Assignment data structures returned by this call.
- Parameters:
assignments- The collection of Assignment data structures returned by this call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assignments
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.Builderavoiding the need to create one manually viaAssignment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#assignments(List.) - Parameters:
assignments- a consumer that will call methods onAssignment.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#assignments(java.util.Collection)
-
-