Interface ReviewActionDetail.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ReviewActionDetail.Builder,ReviewActionDetail>, SdkBuilder<ReviewActionDetail.Builder,ReviewActionDetail>, SdkPojo
Enclosing class:
ReviewActionDetail

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

    • actionId

      ReviewActionDetail.Builder actionId(String actionId)

      The unique identifier for the action.

      Parameters:
      actionId - The unique identifier for the action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • actionName

      ReviewActionDetail.Builder actionName(String actionName)

      The nature of the action itself. The Review Policy is responsible for examining the HIT and Assignments, emitting results, and deciding which other actions will be necessary.

      Parameters:
      actionName - The nature of the action itself. The Review Policy is responsible for examining the HIT and Assignments, emitting results, and deciding which other actions will be necessary.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetId

      ReviewActionDetail.Builder targetId(String targetId)

      The specific HITId or AssignmentID targeted by the action.

      Parameters:
      targetId - The specific HITId or AssignmentID targeted by the action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetType

      ReviewActionDetail.Builder targetType(String targetType)

      The type of object in TargetId.

      Parameters:
      targetType - The type of object in TargetId.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The current disposition of the action: INTENDED, SUCCEEDED, FAILED, or CANCELLED.

      Parameters:
      status - The current disposition of the action: INTENDED, SUCCEEDED, FAILED, or CANCELLED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The current disposition of the action: INTENDED, SUCCEEDED, FAILED, or CANCELLED.

      Parameters:
      status - The current disposition of the action: INTENDED, SUCCEEDED, FAILED, or CANCELLED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • completeTime

      ReviewActionDetail.Builder completeTime(Instant completeTime)

      The date when the action was completed.

      Parameters:
      completeTime - The date when the action was completed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • result

      A description of the outcome of the review.

      Parameters:
      result - A description of the outcome of the review.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorCode

      ReviewActionDetail.Builder errorCode(String errorCode)

      Present only when the Results have a FAILED Status.

      Parameters:
      errorCode - Present only when the Results have a FAILED Status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.