@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAssignmentsForHITRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListAssignmentsForHITRequest() |
Modifier and Type | Method and Description |
---|---|
ListAssignmentsForHITRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getAssignmentStatuses()
The status of the assignments to return: Submitted | Approved | Rejected
|
String |
getHITId()
The ID of the HIT.
|
Integer |
getMaxResults() |
String |
getNextToken()
Pagination token
|
int |
hashCode() |
void |
setAssignmentStatuses(Collection<String> assignmentStatuses)
The status of the assignments to return: Submitted | Approved | Rejected
|
void |
setHITId(String hITId)
The ID of the HIT.
|
void |
setMaxResults(Integer maxResults) |
void |
setNextToken(String nextToken)
Pagination token
|
String |
toString()
Returns a string representation of this object.
|
ListAssignmentsForHITRequest |
withAssignmentStatuses(AssignmentStatus... assignmentStatuses)
The status of the assignments to return: Submitted | Approved | Rejected
|
ListAssignmentsForHITRequest |
withAssignmentStatuses(Collection<String> assignmentStatuses)
The status of the assignments to return: Submitted | Approved | Rejected
|
ListAssignmentsForHITRequest |
withAssignmentStatuses(String... assignmentStatuses)
The status of the assignments to return: Submitted | Approved | Rejected
|
ListAssignmentsForHITRequest |
withHITId(String hITId)
The ID of the HIT.
|
ListAssignmentsForHITRequest |
withMaxResults(Integer maxResults) |
ListAssignmentsForHITRequest |
withNextToken(String nextToken)
Pagination token
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setHITId(String hITId)
The ID of the HIT.
hITId
- The ID of the HIT.public String getHITId()
The ID of the HIT.
public ListAssignmentsForHITRequest withHITId(String hITId)
The ID of the HIT.
hITId
- The ID of the HIT.public void setNextToken(String nextToken)
Pagination token
nextToken
- Pagination tokenpublic String getNextToken()
Pagination token
public ListAssignmentsForHITRequest withNextToken(String nextToken)
Pagination token
nextToken
- Pagination tokenpublic void setMaxResults(Integer maxResults)
maxResults
- public Integer getMaxResults()
public ListAssignmentsForHITRequest withMaxResults(Integer maxResults)
maxResults
- public List<String> getAssignmentStatuses()
The status of the assignments to return: Submitted | Approved | Rejected
AssignmentStatus
public void setAssignmentStatuses(Collection<String> assignmentStatuses)
The status of the assignments to return: Submitted | Approved | Rejected
assignmentStatuses
- The status of the assignments to return: Submitted | Approved | RejectedAssignmentStatus
public ListAssignmentsForHITRequest withAssignmentStatuses(String... assignmentStatuses)
The status of the assignments to return: Submitted | Approved | Rejected
NOTE: This method appends the values to the existing list (if any). Use
setAssignmentStatuses(java.util.Collection)
or withAssignmentStatuses(java.util.Collection)
if
you want to override the existing values.
assignmentStatuses
- The status of the assignments to return: Submitted | Approved | RejectedAssignmentStatus
public ListAssignmentsForHITRequest withAssignmentStatuses(Collection<String> assignmentStatuses)
The status of the assignments to return: Submitted | Approved | Rejected
assignmentStatuses
- The status of the assignments to return: Submitted | Approved | RejectedAssignmentStatus
public ListAssignmentsForHITRequest withAssignmentStatuses(AssignmentStatus... assignmentStatuses)
The status of the assignments to return: Submitted | Approved | Rejected
assignmentStatuses
- The status of the assignments to return: Submitted | Approved | RejectedAssignmentStatus
public String toString()
toString
in class Object
Object.toString()
public ListAssignmentsForHITRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()