Interface ListBonusPaymentsRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<ListBonusPaymentsRequest.Builder,ListBonusPaymentsRequest>, MTurkRequest.Builder, SdkBuilder<ListBonusPaymentsRequest.Builder,ListBonusPaymentsRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
ListBonusPaymentsRequest

public static interface ListBonusPaymentsRequest.Builder extends MTurkRequest.Builder, SdkPojo, CopyableBuilder<ListBonusPaymentsRequest.Builder,ListBonusPaymentsRequest>
  • Method Details

    • hitId

      The ID of the HIT associated with the bonus payments to retrieve. If not specified, all bonus payments for all assignments for the given HIT are returned. Either the HITId parameter or the AssignmentId parameter must be specified

      Parameters:
      hitId - The ID of the HIT associated with the bonus payments to retrieve. If not specified, all bonus payments for all assignments for the given HIT are returned. Either the HITId parameter or the AssignmentId parameter must be specified
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • assignmentId

      ListBonusPaymentsRequest.Builder assignmentId(String assignmentId)

      The ID of the assignment associated with the bonus payments to retrieve. If specified, only bonus payments for the given assignment are returned. Either the HITId parameter or the AssignmentId parameter must be specified

      Parameters:
      assignmentId - The ID of the assignment associated with the bonus payments to retrieve. If specified, only bonus payments for the given assignment are returned. Either the HITId parameter or the AssignmentId parameter must be specified
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      Pagination token

      Parameters:
      nextToken - Pagination token
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxResults

      ListBonusPaymentsRequest.Builder maxResults(Integer maxResults)
      Sets the value of the MaxResults property for this object.
      Parameters:
      maxResults - The new value for the MaxResults property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      ListBonusPaymentsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.