Interface ListReviewableHiTsResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<ListReviewableHiTsResponse.Builder,ListReviewableHiTsResponse>, MTurkResponse.Builder, SdkBuilder<ListReviewableHiTsResponse.Builder,ListReviewableHiTsResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
ListReviewableHiTsResponse

public static interface ListReviewableHiTsResponse.Builder extends MTurkResponse.Builder, SdkPojo, CopyableBuilder<ListReviewableHiTsResponse.Builder,ListReviewableHiTsResponse>
  • 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 HITs on this page in the filtered results list, equivalent to the number of HITs being returned by this call.

      Parameters:
      numResults - The number of HITs on this page in the filtered results list, equivalent to the number of HITs being returned by this call.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hiTs

      The list of HIT elements returned by the query.

      Parameters:
      hiTs - The list of HIT elements returned by the query.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hiTs

      The list of HIT elements returned by the query.

      Parameters:
      hiTs - The list of HIT elements returned by the query.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hiTs

      The list of HIT elements returned by the query.

      This is a convenience method that creates an instance of the HIT.Builder avoiding the need to create one manually via HIT.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to hiTs(List<HIT>).

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