@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReviewActionDetail extends Object implements Serializable, Cloneable, StructuredPojo
Both the AssignmentReviewReport and the HITReviewReport elements contains the ReviewActionDetail data structure. This structure is returned multiple times for each action specified in the Review Policy.
Constructor and Description |
---|
ReviewActionDetail() |
Modifier and Type | Method and Description |
---|---|
ReviewActionDetail |
clone() |
boolean |
equals(Object obj) |
String |
getActionId()
The unique identifier for the action.
|
String |
getActionName()
The nature of the action itself.
|
Date |
getCompleteTime()
The date when the action was completed.
|
String |
getErrorCode()
Present only when the Results have a FAILED Status.
|
String |
getResult()
A description of the outcome of the review.
|
String |
getStatus()
The current disposition of the action: INTENDED, SUCCEEDED, FAILED, or CANCELLED.
|
String |
getTargetId()
The specific HITId or AssignmentID targeted by the action.
|
String |
getTargetType()
The type of object in TargetId.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActionId(String actionId)
The unique identifier for the action.
|
void |
setActionName(String actionName)
The nature of the action itself.
|
void |
setCompleteTime(Date completeTime)
The date when the action was completed.
|
void |
setErrorCode(String errorCode)
Present only when the Results have a FAILED Status.
|
void |
setResult(String result)
A description of the outcome of the review.
|
void |
setStatus(ReviewActionStatus status)
The current disposition of the action: INTENDED, SUCCEEDED, FAILED, or CANCELLED.
|
void |
setStatus(String status)
The current disposition of the action: INTENDED, SUCCEEDED, FAILED, or CANCELLED.
|
void |
setTargetId(String targetId)
The specific HITId or AssignmentID targeted by the action.
|
void |
setTargetType(String targetType)
The type of object in TargetId.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ReviewActionDetail |
withActionId(String actionId)
The unique identifier for the action.
|
ReviewActionDetail |
withActionName(String actionName)
The nature of the action itself.
|
ReviewActionDetail |
withCompleteTime(Date completeTime)
The date when the action was completed.
|
ReviewActionDetail |
withErrorCode(String errorCode)
Present only when the Results have a FAILED Status.
|
ReviewActionDetail |
withResult(String result)
A description of the outcome of the review.
|
ReviewActionDetail |
withStatus(ReviewActionStatus status)
The current disposition of the action: INTENDED, SUCCEEDED, FAILED, or CANCELLED.
|
ReviewActionDetail |
withStatus(String status)
The current disposition of the action: INTENDED, SUCCEEDED, FAILED, or CANCELLED.
|
ReviewActionDetail |
withTargetId(String targetId)
The specific HITId or AssignmentID targeted by the action.
|
ReviewActionDetail |
withTargetType(String targetType)
The type of object in TargetId.
|
public void setActionId(String actionId)
The unique identifier for the action.
actionId
- The unique identifier for the action.public String getActionId()
The unique identifier for the action.
public ReviewActionDetail withActionId(String actionId)
The unique identifier for the action.
actionId
- The unique identifier for the action.public void setActionName(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.public String getActionName()
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.
public ReviewActionDetail withActionName(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.public void setTargetId(String targetId)
The specific HITId or AssignmentID targeted by the action.
targetId
- The specific HITId or AssignmentID targeted by the action.public String getTargetId()
The specific HITId or AssignmentID targeted by the action.
public ReviewActionDetail withTargetId(String targetId)
The specific HITId or AssignmentID targeted by the action.
targetId
- The specific HITId or AssignmentID targeted by the action.public void setTargetType(String targetType)
The type of object in TargetId.
targetType
- The type of object in TargetId.public String getTargetType()
The type of object in TargetId.
public ReviewActionDetail withTargetType(String targetType)
The type of object in TargetId.
targetType
- The type of object in TargetId.public void setStatus(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
public String getStatus()
The current disposition of the action: INTENDED, SUCCEEDED, FAILED, or CANCELLED.
ReviewActionStatus
public ReviewActionDetail withStatus(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
public void setStatus(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
public ReviewActionDetail withStatus(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
public void setCompleteTime(Date completeTime)
The date when the action was completed.
completeTime
- The date when the action was completed.public Date getCompleteTime()
The date when the action was completed.
public ReviewActionDetail withCompleteTime(Date completeTime)
The date when the action was completed.
completeTime
- The date when the action was completed.public void setResult(String result)
A description of the outcome of the review.
result
- A description of the outcome of the review.public String getResult()
A description of the outcome of the review.
public ReviewActionDetail withResult(String result)
A description of the outcome of the review.
result
- A description of the outcome of the review.public void setErrorCode(String errorCode)
Present only when the Results have a FAILED Status.
errorCode
- Present only when the Results have a FAILED Status.public String getErrorCode()
Present only when the Results have a FAILED Status.
public ReviewActionDetail withErrorCode(String errorCode)
Present only when the Results have a FAILED Status.
errorCode
- Present only when the Results have a FAILED Status.public String toString()
toString
in class Object
Object.toString()
public ReviewActionDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.