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 Details

    • 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

      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

      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

      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

      The collection of Assignment data structures returned by this call.

      This is a convenience method that creates an instance of the Assignment.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<Assignment>).

      Parameters:
      assignments - a consumer that will call methods on Assignment.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: