@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchTypesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
SearchTypesResult() |
| Modifier and Type | Method and Description |
|---|---|
SearchTypesResult |
clone() |
boolean |
equals(Object obj) |
List<SearchTypesResultItem> |
getItems()
The results of the
SearchTypes 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<SearchTypesResultItem> items)
The results of the
SearchTypes 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.
|
SearchTypesResult |
withItems(Collection<SearchTypesResultItem> items)
The results of the
SearchTypes action. |
SearchTypesResult |
withItems(SearchTypesResultItem... items)
The results of the
SearchTypes action. |
SearchTypesResult |
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. |
SearchTypesResult |
withTotalMatchCount(Integer totalMatchCount)
Total number of search results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<SearchTypesResultItem> getItems()
The results of the SearchTypes action.
SearchTypes action.public void setItems(Collection<SearchTypesResultItem> items)
The results of the SearchTypes action.
items - The results of the SearchTypes action.public SearchTypesResult withItems(SearchTypesResultItem... items)
The results of the SearchTypes 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 SearchTypes action.public SearchTypesResult withItems(Collection<SearchTypesResultItem> items)
The results of the SearchTypes action.
items - The results of the SearchTypes 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 SearchTypes 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 SearchTypes 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 SearchTypes 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 SearchTypes to list the next set of
results.public SearchTypesResult 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 SearchTypes 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 SearchTypes 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 SearchTypesResult withTotalMatchCount(Integer totalMatchCount)
Total number of search results.
totalMatchCount - Total number of search results.public String toString()
toString in class ObjectObject.toString()public SearchTypesResult clone()
Copyright © 2024. All rights reserved.