@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAssignmentsForHITResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListAssignmentsForHITResult() |
Modifier and Type | Method and Description |
---|---|
ListAssignmentsForHITResult |
clone() |
boolean |
equals(Object obj) |
List<Assignment> |
getAssignments()
The collection of Assignment data structures returned by this call.
|
String |
getNextToken() |
Integer |
getNumResults()
The number of assignments on the page in the filtered results list, equivalent to the number of assignments
returned by this call.
|
int |
hashCode() |
void |
setAssignments(Collection<Assignment> assignments)
The collection of Assignment data structures returned by this call.
|
void |
setNextToken(String nextToken) |
void |
setNumResults(Integer numResults)
The number of assignments on the page in the filtered results list, equivalent to the number of assignments
returned by this call.
|
String |
toString()
Returns a string representation of this object.
|
ListAssignmentsForHITResult |
withAssignments(Assignment... assignments)
The collection of Assignment data structures returned by this call.
|
ListAssignmentsForHITResult |
withAssignments(Collection<Assignment> assignments)
The collection of Assignment data structures returned by this call.
|
ListAssignmentsForHITResult |
withNextToken(String nextToken) |
ListAssignmentsForHITResult |
withNumResults(Integer numResults)
The number of assignments on the page in the filtered results list, equivalent to the number of assignments
returned by this call.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
nextToken
- public String getNextToken()
public ListAssignmentsForHITResult withNextToken(String nextToken)
nextToken
- public void setNumResults(Integer numResults)
The number of assignments on the page in the filtered results list, equivalent to the number of assignments returned by this call.
numResults
- The number of assignments on the page in the filtered results list, equivalent to the number of
assignments returned by this call.public Integer getNumResults()
The number of assignments on the page in the filtered results list, equivalent to the number of assignments returned by this call.
public ListAssignmentsForHITResult withNumResults(Integer numResults)
The number of assignments on the page in the filtered results list, equivalent to the number of assignments returned by this call.
numResults
- The number of assignments on the page in the filtered results list, equivalent to the number of
assignments returned by this call.public List<Assignment> getAssignments()
The collection of Assignment data structures returned by this call.
public void setAssignments(Collection<Assignment> assignments)
The collection of Assignment data structures returned by this call.
assignments
- The collection of Assignment data structures returned by this call.public ListAssignmentsForHITResult withAssignments(Assignment... assignments)
The collection of Assignment data structures returned by this call.
NOTE: This method appends the values to the existing list (if any). Use
setAssignments(java.util.Collection)
or withAssignments(java.util.Collection)
if you want to
override the existing values.
assignments
- The collection of Assignment data structures returned by this call.public ListAssignmentsForHITResult withAssignments(Collection<Assignment> assignments)
The collection of Assignment data structures returned by this call.
assignments
- The collection of Assignment data structures returned by this call.public String toString()
toString
in class Object
Object.toString()
public ListAssignmentsForHITResult clone()