@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetArchiveSearchResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The response containing details of the specified archive search job.
Constructor and Description |
---|
GetArchiveSearchResult() |
Modifier and Type | Method and Description |
---|---|
GetArchiveSearchResult |
clone() |
boolean |
equals(Object obj) |
String |
getArchiveId()
The identifier of the archive the email search was performed in.
|
ArchiveFilters |
getFilters()
The criteria used to filter emails included in the search.
|
Date |
getFromTimestamp()
The start timestamp of the range the searched emails cover.
|
Integer |
getMaxResults()
The maximum number of search results to return.
|
SearchStatus |
getStatus()
The current status of the search job.
|
Date |
getToTimestamp()
The end timestamp of the range the searched emails cover.
|
int |
hashCode() |
void |
setArchiveId(String archiveId)
The identifier of the archive the email search was performed in.
|
void |
setFilters(ArchiveFilters filters)
The criteria used to filter emails included in the search.
|
void |
setFromTimestamp(Date fromTimestamp)
The start timestamp of the range the searched emails cover.
|
void |
setMaxResults(Integer maxResults)
The maximum number of search results to return.
|
void |
setStatus(SearchStatus status)
The current status of the search job.
|
void |
setToTimestamp(Date toTimestamp)
The end timestamp of the range the searched emails cover.
|
String |
toString()
Returns a string representation of this object.
|
GetArchiveSearchResult |
withArchiveId(String archiveId)
The identifier of the archive the email search was performed in.
|
GetArchiveSearchResult |
withFilters(ArchiveFilters filters)
The criteria used to filter emails included in the search.
|
GetArchiveSearchResult |
withFromTimestamp(Date fromTimestamp)
The start timestamp of the range the searched emails cover.
|
GetArchiveSearchResult |
withMaxResults(Integer maxResults)
The maximum number of search results to return.
|
GetArchiveSearchResult |
withStatus(SearchStatus status)
The current status of the search job.
|
GetArchiveSearchResult |
withToTimestamp(Date toTimestamp)
The end timestamp of the range the searched emails cover.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setArchiveId(String archiveId)
The identifier of the archive the email search was performed in.
archiveId
- The identifier of the archive the email search was performed in.public String getArchiveId()
The identifier of the archive the email search was performed in.
public GetArchiveSearchResult withArchiveId(String archiveId)
The identifier of the archive the email search was performed in.
archiveId
- The identifier of the archive the email search was performed in.public void setFilters(ArchiveFilters filters)
The criteria used to filter emails included in the search.
filters
- The criteria used to filter emails included in the search.public ArchiveFilters getFilters()
The criteria used to filter emails included in the search.
public GetArchiveSearchResult withFilters(ArchiveFilters filters)
The criteria used to filter emails included in the search.
filters
- The criteria used to filter emails included in the search.public void setFromTimestamp(Date fromTimestamp)
The start timestamp of the range the searched emails cover.
fromTimestamp
- The start timestamp of the range the searched emails cover.public Date getFromTimestamp()
The start timestamp of the range the searched emails cover.
public GetArchiveSearchResult withFromTimestamp(Date fromTimestamp)
The start timestamp of the range the searched emails cover.
fromTimestamp
- The start timestamp of the range the searched emails cover.public void setMaxResults(Integer maxResults)
The maximum number of search results to return.
maxResults
- The maximum number of search results to return.public Integer getMaxResults()
The maximum number of search results to return.
public GetArchiveSearchResult withMaxResults(Integer maxResults)
The maximum number of search results to return.
maxResults
- The maximum number of search results to return.public void setStatus(SearchStatus status)
The current status of the search job.
status
- The current status of the search job.public SearchStatus getStatus()
The current status of the search job.
public GetArchiveSearchResult withStatus(SearchStatus status)
The current status of the search job.
status
- The current status of the search job.public void setToTimestamp(Date toTimestamp)
The end timestamp of the range the searched emails cover.
toTimestamp
- The end timestamp of the range the searched emails cover.public Date getToTimestamp()
The end timestamp of the range the searched emails cover.
public GetArchiveSearchResult withToTimestamp(Date toTimestamp)
The end timestamp of the range the searched emails cover.
toTimestamp
- The end timestamp of the range the searched emails cover.public String toString()
toString
in class Object
Object.toString()
public GetArchiveSearchResult clone()