@Generated(value="software.amazon.awssdk:codegen") public class ReviewActionDetail extends Object implements StructuredPojo, ToCopyableBuilder<ReviewActionDetail.Builder,ReviewActionDetail>
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.
Modifier and Type | Class and Description |
---|---|
static interface |
ReviewActionDetail.Builder |
Modifier and Type | Method and Description |
---|---|
String |
actionId()
The unique identifier for the action.
|
String |
actionName()
The nature of the action itself.
|
static ReviewActionDetail.Builder |
builder() |
Instant |
completeTime()
The date when the action was completed.
|
boolean |
equals(Object obj) |
String |
errorCode()
Present only when the Results have a FAILED Status.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
result()
A description of the outcome of the review.
|
static Class<? extends ReviewActionDetail.Builder> |
serializableBuilderClass() |
ReviewActionStatus |
status()
The current disposition of the action: INTENDED, SUCCEEDED, FAILED, or CANCELLED.
|
String |
statusString()
The current disposition of the action: INTENDED, SUCCEEDED, FAILED, or CANCELLED.
|
String |
targetId()
The specific HITId or AssignmentID targeted by the action.
|
String |
targetType()
The type of object in TargetId.
|
ReviewActionDetail.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String actionId()
The unique identifier for the action.
public 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.
public String targetId()
The specific HITId or AssignmentID targeted by the action.
public String targetType()
The type of object in TargetId.
public ReviewActionStatus status()
The current disposition of the action: INTENDED, SUCCEEDED, FAILED, or CANCELLED.
If the service returns an enum value that is not available in the current SDK version, status
will
return ReviewActionStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusString()
.
ReviewActionStatus
public String statusString()
The current disposition of the action: INTENDED, SUCCEEDED, FAILED, or CANCELLED.
If the service returns an enum value that is not available in the current SDK version, status
will
return ReviewActionStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusString()
.
ReviewActionStatus
public Instant completeTime()
The date when the action was completed.
public String result()
A description of the outcome of the review.
public String errorCode()
Present only when the Results have a FAILED Status.
public ReviewActionDetail.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ReviewActionDetail.Builder,ReviewActionDetail>
public static ReviewActionDetail.Builder builder()
public static Class<? extends ReviewActionDetail.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.