@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListHITsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListHITsResult() |
Modifier and Type | Method and Description |
---|---|
ListHITsResult |
clone() |
boolean |
equals(Object obj) |
List<HIT> |
getHITs()
The list of HIT elements returned by the query.
|
String |
getNextToken() |
Integer |
getNumResults()
The number of HITs on this page in the filtered results list, equivalent to the number of HITs being returned by
this call.
|
int |
hashCode() |
void |
setHITs(Collection<HIT> hITs)
The list of HIT elements returned by the query.
|
void |
setNextToken(String nextToken) |
void |
setNumResults(Integer numResults)
The number of HITs on this page in the filtered results list, equivalent to the number of HITs being returned by
this call.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListHITsResult |
withHITs(Collection<HIT> hITs)
The list of HIT elements returned by the query.
|
ListHITsResult |
withHITs(HIT... hITs)
The list of HIT elements returned by the query.
|
ListHITsResult |
withNextToken(String nextToken) |
ListHITsResult |
withNumResults(Integer numResults)
The number of HITs on this page in the filtered results list, equivalent to the number of HITs being returned by
this call.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
nextToken
- public String getNextToken()
public ListHITsResult withNextToken(String nextToken)
nextToken
- public void setNumResults(Integer numResults)
The number of HITs on this page in the filtered results list, equivalent to the number of HITs being returned by this call.
numResults
- The number of HITs on this page in the filtered results list, equivalent to the number of HITs being
returned by this call.public Integer getNumResults()
The number of HITs on this page in the filtered results list, equivalent to the number of HITs being returned by this call.
public ListHITsResult withNumResults(Integer numResults)
The number of HITs on this page in the filtered results list, equivalent to the number of HITs being returned by this call.
numResults
- The number of HITs on this page in the filtered results list, equivalent to the number of HITs being
returned by this call.public List<HIT> getHITs()
The list of HIT elements returned by the query.
public void setHITs(Collection<HIT> hITs)
The list of HIT elements returned by the query.
hITs
- The list of HIT elements returned by the query.public ListHITsResult withHITs(HIT... hITs)
The list of HIT elements returned by the query.
NOTE: This method appends the values to the existing list (if any). Use
setHITs(java.util.Collection)
or withHITs(java.util.Collection)
if you want to override the
existing values.
hITs
- The list of HIT elements returned by the query.public ListHITsResult withHITs(Collection<HIT> hITs)
The list of HIT elements returned by the query.
hITs
- The list of HIT elements returned by the query.public String toString()
toString
in class Object
Object.toString()
public ListHITsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.