public static interface ReviewActionDetail.Builder extends CopyableBuilder<ReviewActionDetail.Builder,ReviewActionDetail>
Modifier and Type | Method and Description |
---|---|
ReviewActionDetail.Builder |
actionId(String actionId)
The unique identifier for the action.
|
ReviewActionDetail.Builder |
actionName(String actionName)
The nature of the action itself.
|
ReviewActionDetail.Builder |
completeTime(Instant completeTime)
The date when the action was completed.
|
ReviewActionDetail.Builder |
errorCode(String errorCode)
Present only when the Results have a FAILED Status.
|
ReviewActionDetail.Builder |
result(String result)
A description of the outcome of the review.
|
ReviewActionDetail.Builder |
status(ReviewActionStatus status)
The current disposition of the action: INTENDED, SUCCEEDED, FAILED, or CANCELLED.
|
ReviewActionDetail.Builder |
status(String status)
The current disposition of the action: INTENDED, SUCCEEDED, FAILED, or CANCELLED.
|
ReviewActionDetail.Builder |
targetId(String targetId)
The specific HITId or AssignmentID targeted by the action.
|
ReviewActionDetail.Builder |
targetType(String targetType)
The type of object in TargetId.
|
copy
applyMutation, build
ReviewActionDetail.Builder actionId(String actionId)
The unique identifier for the action.
actionId
- The unique identifier for the action.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.
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.ReviewActionDetail.Builder targetId(String targetId)
The specific HITId or AssignmentID targeted by the action.
targetId
- The specific HITId or AssignmentID targeted by the action.ReviewActionDetail.Builder targetType(String targetType)
The type of object in TargetId.
targetType
- The type of object in TargetId.ReviewActionDetail.Builder status(String status)
The current disposition of the action: INTENDED, SUCCEEDED, FAILED, or CANCELLED.
status
- The current disposition of the action: INTENDED, SUCCEEDED, FAILED, or CANCELLED.ReviewActionStatus
,
ReviewActionStatus
ReviewActionDetail.Builder status(ReviewActionStatus status)
The current disposition of the action: INTENDED, SUCCEEDED, FAILED, or CANCELLED.
status
- The current disposition of the action: INTENDED, SUCCEEDED, FAILED, or CANCELLED.ReviewActionStatus
,
ReviewActionStatus
ReviewActionDetail.Builder completeTime(Instant completeTime)
The date when the action was completed.
completeTime
- The date when the action was completed.ReviewActionDetail.Builder result(String result)
A description of the outcome of the review.
result
- A description of the outcome of the review.ReviewActionDetail.Builder errorCode(String errorCode)
Present only when the Results have a FAILED Status.
errorCode
- Present only when the Results have a FAILED Status.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.