@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchListingsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
SearchListingsResult() |
Modifier and Type | Method and Description |
---|---|
SearchListingsResult |
clone() |
boolean |
equals(Object obj) |
List<SearchResultItem> |
getItems()
The results of the
SearchListings action. |
String |
getNextToken()
When the number of results is greater than the default value for the
MaxResults parameter, or if you
explicitly specify a value for MaxResults that is less than the number of results, the response
includes a pagination token named NextToken . |
Integer |
getTotalMatchCount()
Total number of search results.
|
int |
hashCode() |
void |
setItems(Collection<SearchResultItem> items)
The results of the
SearchListings action. |
void |
setNextToken(String nextToken)
When the number of results is greater than the default value for the
MaxResults parameter, or if you
explicitly specify a value for MaxResults that is less than the number of results, the response
includes a pagination token named NextToken . |
void |
setTotalMatchCount(Integer totalMatchCount)
Total number of search results.
|
String |
toString()
Returns a string representation of this object.
|
SearchListingsResult |
withItems(Collection<SearchResultItem> items)
The results of the
SearchListings action. |
SearchListingsResult |
withItems(SearchResultItem... items)
The results of the
SearchListings action. |
SearchListingsResult |
withNextToken(String nextToken)
When the number of results is greater than the default value for the
MaxResults parameter, or if you
explicitly specify a value for MaxResults that is less than the number of results, the response
includes a pagination token named NextToken . |
SearchListingsResult |
withTotalMatchCount(Integer totalMatchCount)
Total number of search results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<SearchResultItem> getItems()
The results of the SearchListings
action.
SearchListings
action.public void setItems(Collection<SearchResultItem> items)
The results of the SearchListings
action.
items
- The results of the SearchListings
action.public SearchListingsResult withItems(SearchResultItem... items)
The results of the SearchListings
action.
NOTE: This method appends the values to the existing list (if any). Use
setItems(java.util.Collection)
or withItems(java.util.Collection)
if you want to override the
existing values.
items
- The results of the SearchListings
action.public SearchListingsResult withItems(Collection<SearchResultItem> items)
The results of the SearchListings
action.
items
- The results of the SearchListings
action.public void setNextToken(String nextToken)
When the number of results is greater than the default value for the MaxResults
parameter, or if you
explicitly specify a value for MaxResults
that is less than the number of results, the response
includes a pagination token named NextToken
. You can specify this NextToken
value in a
subsequent call to SearchListings
to list the next set of results.
nextToken
- When the number of results is greater than the default value for the MaxResults
parameter, or
if you explicitly specify a value for MaxResults
that is less than the number of results, the
response includes a pagination token named NextToken
. You can specify this
NextToken
value in a subsequent call to SearchListings
to list the next set of
results.public String getNextToken()
When the number of results is greater than the default value for the MaxResults
parameter, or if you
explicitly specify a value for MaxResults
that is less than the number of results, the response
includes a pagination token named NextToken
. You can specify this NextToken
value in a
subsequent call to SearchListings
to list the next set of results.
MaxResults
parameter,
or if you explicitly specify a value for MaxResults
that is less than the number of results,
the response includes a pagination token named NextToken
. You can specify this
NextToken
value in a subsequent call to SearchListings
to list the next set of
results.public SearchListingsResult withNextToken(String nextToken)
When the number of results is greater than the default value for the MaxResults
parameter, or if you
explicitly specify a value for MaxResults
that is less than the number of results, the response
includes a pagination token named NextToken
. You can specify this NextToken
value in a
subsequent call to SearchListings
to list the next set of results.
nextToken
- When the number of results is greater than the default value for the MaxResults
parameter, or
if you explicitly specify a value for MaxResults
that is less than the number of results, the
response includes a pagination token named NextToken
. You can specify this
NextToken
value in a subsequent call to SearchListings
to list the next set of
results.public void setTotalMatchCount(Integer totalMatchCount)
Total number of search results.
totalMatchCount
- Total number of search results.public Integer getTotalMatchCount()
Total number of search results.
public SearchListingsResult withTotalMatchCount(Integer totalMatchCount)
Total number of search results.
totalMatchCount
- Total number of search results.public String toString()
toString
in class Object
Object.toString()
public SearchListingsResult clone()