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 Summary
Modifier and TypeMethodDescriptionThe unique identifier for the action.actionName
(String actionName) The nature of the action itself.completeTime
(Instant completeTime) The date when the action was completed.Present only when the Results have a FAILED Status.A description of the outcome of the review.The current disposition of the action: INTENDED, SUCCEEDED, FAILED, or CANCELLED.status
(ReviewActionStatus status) The current disposition of the action: INTENDED, SUCCEEDED, FAILED, or CANCELLED.The specific HITId or AssignmentID targeted by the action.targetType
(String targetType) The type of object in TargetId.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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
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
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
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.
-