Interface ListReviewableHiTsResponse.Builder

    • Method Detail

      • nextToken

        ListReviewableHiTsResponse.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

        ListReviewableHiTsResponse.Builder numResults​(Integer 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

        ListReviewableHiTsResponse.Builder hiTs​(Collection<HIT> 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

        ListReviewableHiTsResponse.Builder hiTs​(HIT... 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

        ListReviewableHiTsResponse.Builder hiTs​(Consumer<HIT.Builder>... 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).

        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:
        #hiTs(java.util.Collection)