@Generated(value="software.amazon.awssdk:codegen") public final class ListReviewPolicyResultsForHitRequest extends MTurkRequest implements ToCopyableBuilder<ListReviewPolicyResultsForHitRequest.Builder,ListReviewPolicyResultsForHitRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ListReviewPolicyResultsForHitRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ListReviewPolicyResultsForHitRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasPolicyLevels()
For responses, this returns true if the service returned a value for the PolicyLevels property.
|
String |
hitId()
The unique identifier of the HIT to retrieve review results for.
|
Integer |
maxResults()
Limit the number of results returned.
|
String |
nextToken()
Pagination token
|
List<ReviewPolicyLevel> |
policyLevels()
The Policy Level(s) to retrieve review results for - HIT or Assignment.
|
List<String> |
policyLevelsAsStrings()
The Policy Level(s) to retrieve review results for - HIT or Assignment.
|
Boolean |
retrieveActions()
Specify if the operation should retrieve a list of the actions taken executing the Review Policies and their
outcomes.
|
Boolean |
retrieveResults()
Specify if the operation should retrieve a list of the results computed by the Review Policies.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ListReviewPolicyResultsForHitRequest.Builder> |
serializableBuilderClass() |
ListReviewPolicyResultsForHitRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String hitId()
The unique identifier of the HIT to retrieve review results for.
public final List<ReviewPolicyLevel> policyLevels()
The Policy Level(s) to retrieve review results for - HIT or Assignment. If omitted, the default behavior is to retrieve all data for both policy levels. For a list of all the described policies, see Review Policies.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasPolicyLevels() method.
public final boolean hasPolicyLevels()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> policyLevelsAsStrings()
The Policy Level(s) to retrieve review results for - HIT or Assignment. If omitted, the default behavior is to retrieve all data for both policy levels. For a list of all the described policies, see Review Policies.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasPolicyLevels() method.
public final Boolean retrieveActions()
Specify if the operation should retrieve a list of the actions taken executing the Review Policies and their outcomes.
public final Boolean retrieveResults()
Specify if the operation should retrieve a list of the results computed by the Review Policies.
public final String nextToken()
Pagination token
public final Integer maxResults()
Limit the number of results returned.
public ListReviewPolicyResultsForHitRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ListReviewPolicyResultsForHitRequest.Builder,ListReviewPolicyResultsForHitRequest>toBuilder in class MTurkRequestpublic static ListReviewPolicyResultsForHitRequest.Builder builder()
public static Class<? extends ListReviewPolicyResultsForHitRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.