@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListArchiveSearchesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The response containing a list of archive search jobs and their statuses.
Constructor and Description |
---|
ListArchiveSearchesResult() |
Modifier and Type | Method and Description |
---|---|
ListArchiveSearchesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
If present, use to retrieve the next page of results.
|
List<SearchSummary> |
getSearches()
The list of search job identifiers and statuses.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
If present, use to retrieve the next page of results.
|
void |
setSearches(Collection<SearchSummary> searches)
The list of search job identifiers and statuses.
|
String |
toString()
Returns a string representation of this object.
|
ListArchiveSearchesResult |
withNextToken(String nextToken)
If present, use to retrieve the next page of results.
|
ListArchiveSearchesResult |
withSearches(Collection<SearchSummary> searches)
The list of search job identifiers and statuses.
|
ListArchiveSearchesResult |
withSearches(SearchSummary... searches)
The list of search job identifiers and statuses.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
If present, use to retrieve the next page of results.
nextToken
- If present, use to retrieve the next page of results.public String getNextToken()
If present, use to retrieve the next page of results.
public ListArchiveSearchesResult withNextToken(String nextToken)
If present, use to retrieve the next page of results.
nextToken
- If present, use to retrieve the next page of results.public List<SearchSummary> getSearches()
The list of search job identifiers and statuses.
public void setSearches(Collection<SearchSummary> searches)
The list of search job identifiers and statuses.
searches
- The list of search job identifiers and statuses.public ListArchiveSearchesResult withSearches(SearchSummary... searches)
The list of search job identifiers and statuses.
NOTE: This method appends the values to the existing list (if any). Use
setSearches(java.util.Collection)
or withSearches(java.util.Collection)
if you want to override
the existing values.
searches
- The list of search job identifiers and statuses.public ListArchiveSearchesResult withSearches(Collection<SearchSummary> searches)
The list of search job identifiers and statuses.
searches
- The list of search job identifiers and statuses.public String toString()
toString
in class Object
Object.toString()
public ListArchiveSearchesResult clone()