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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ReviewActionDetail.BuilderactionId(String actionId)The unique identifier for the action.ReviewActionDetail.BuilderactionName(String actionName)The nature of the action itself.ReviewActionDetail.BuildercompleteTime(Instant completeTime)The date when the action was completed.ReviewActionDetail.BuildererrorCode(String errorCode)Present only when the Results have a FAILED Status.ReviewActionDetail.Builderresult(String result)A description of the outcome of the review.ReviewActionDetail.Builderstatus(String status)The current disposition of the action: INTENDED, SUCCEEDED, FAILED, or CANCELLED.ReviewActionDetail.Builderstatus(ReviewActionStatus status)The current disposition of the action: INTENDED, SUCCEEDED, FAILED, or CANCELLED.ReviewActionDetail.BuildertargetId(String targetId)The specific HITId or AssignmentID targeted by the action.ReviewActionDetail.BuildertargetType(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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
ReviewActionDetail.Builder status(String 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:
ReviewActionStatus,ReviewActionStatus
-
status
ReviewActionDetail.Builder status(ReviewActionStatus 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:
ReviewActionStatus,ReviewActionStatus
-
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
ReviewActionDetail.Builder result(String 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.
-
-