Interface ApproveAssignmentRequest.Builder

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

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

    • assignmentId

      ApproveAssignmentRequest.Builder assignmentId(String assignmentId)

      The ID of the assignment. The assignment must correspond to a HIT created by the Requester.

      Parameters:
      assignmentId - The ID of the assignment. The assignment must correspond to a HIT created by the Requester.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requesterFeedback

      ApproveAssignmentRequest.Builder requesterFeedback(String requesterFeedback)

      A message for the Worker, which the Worker can see in the Status section of the web site.

      Parameters:
      requesterFeedback - A message for the Worker, which the Worker can see in the Status section of the web site.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideRejection

      ApproveAssignmentRequest.Builder overrideRejection(Boolean overrideRejection)

      A flag indicating that an assignment should be approved even if it was previously rejected. Defaults to False.

      Parameters:
      overrideRejection - A flag indicating that an assignment should be approved even if it was previously rejected. Defaults to False.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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