@Generated(value="software.amazon.awssdk:codegen") public final class ReviewActionDetail extends Object implements SdkPojo, Serializable, 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) |
boolean |
equalsBySdkFields(Object obj) |
String |
errorCode()
Present only when the Results have a FAILED Status.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
result()
A description of the outcome of the review.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ReviewActionDetail.Builder> |
serializableBuilderClass() |
ReviewActionStatus |
status()
The current disposition of the action: INTENDED, SUCCEEDED, FAILED, or CANCELLED.
|
String |
statusAsString()
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() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String actionId()
The unique identifier for the action.
public final 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 final String targetId()
The specific HITId or AssignmentID targeted by the action.
public final String targetType()
The type of object in TargetId.
public final 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
statusAsString().
ReviewActionStatuspublic final String statusAsString()
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
statusAsString().
ReviewActionStatuspublic final Instant completeTime()
The date when the action was completed.
public final String result()
A description of the outcome of the review.
public final String errorCode()
Present only when the Results have a FAILED Status.
public ReviewActionDetail.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ReviewActionDetail.Builder,ReviewActionDetail>public static ReviewActionDetail.Builder builder()
public static Class<? extends ReviewActionDetail.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.