@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartArchiveSearchRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The request to initiate a search across emails in an archive.
NOOP
Constructor and Description |
---|
StartArchiveSearchRequest() |
Modifier and Type | Method and Description |
---|---|
StartArchiveSearchRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getArchiveId()
The identifier of the archive to search emails in.
|
ArchiveFilters |
getFilters()
Criteria to filter which emails are included in the search results.
|
Date |
getFromTimestamp()
The start timestamp of the range to search emails from.
|
Integer |
getMaxResults()
The maximum number of search results to return.
|
Date |
getToTimestamp()
The end timestamp of the range to search emails from.
|
int |
hashCode() |
void |
setArchiveId(String archiveId)
The identifier of the archive to search emails in.
|
void |
setFilters(ArchiveFilters filters)
Criteria to filter which emails are included in the search results.
|
void |
setFromTimestamp(Date fromTimestamp)
The start timestamp of the range to search emails from.
|
void |
setMaxResults(Integer maxResults)
The maximum number of search results to return.
|
void |
setToTimestamp(Date toTimestamp)
The end timestamp of the range to search emails from.
|
String |
toString()
Returns a string representation of this object.
|
StartArchiveSearchRequest |
withArchiveId(String archiveId)
The identifier of the archive to search emails in.
|
StartArchiveSearchRequest |
withFilters(ArchiveFilters filters)
Criteria to filter which emails are included in the search results.
|
StartArchiveSearchRequest |
withFromTimestamp(Date fromTimestamp)
The start timestamp of the range to search emails from.
|
StartArchiveSearchRequest |
withMaxResults(Integer maxResults)
The maximum number of search results to return.
|
StartArchiveSearchRequest |
withToTimestamp(Date toTimestamp)
The end timestamp of the range to search emails from.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setArchiveId(String archiveId)
The identifier of the archive to search emails in.
archiveId
- The identifier of the archive to search emails in.public String getArchiveId()
The identifier of the archive to search emails in.
public StartArchiveSearchRequest withArchiveId(String archiveId)
The identifier of the archive to search emails in.
archiveId
- The identifier of the archive to search emails in.public void setFilters(ArchiveFilters filters)
Criteria to filter which emails are included in the search results.
filters
- Criteria to filter which emails are included in the search results.public ArchiveFilters getFilters()
Criteria to filter which emails are included in the search results.
public StartArchiveSearchRequest withFilters(ArchiveFilters filters)
Criteria to filter which emails are included in the search results.
filters
- Criteria to filter which emails are included in the search results.public void setFromTimestamp(Date fromTimestamp)
The start timestamp of the range to search emails from.
fromTimestamp
- The start timestamp of the range to search emails from.public Date getFromTimestamp()
The start timestamp of the range to search emails from.
public StartArchiveSearchRequest withFromTimestamp(Date fromTimestamp)
The start timestamp of the range to search emails from.
fromTimestamp
- The start timestamp of the range to search emails from.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 StartArchiveSearchRequest withMaxResults(Integer maxResults)
The maximum number of search results to return.
maxResults
- The maximum number of search results to return.public void setToTimestamp(Date toTimestamp)
The end timestamp of the range to search emails from.
toTimestamp
- The end timestamp of the range to search emails from.public Date getToTimestamp()
The end timestamp of the range to search emails from.
public StartArchiveSearchRequest withToTimestamp(Date toTimestamp)
The end timestamp of the range to search emails from.
toTimestamp
- The end timestamp of the range to search emails from.public String toString()
toString
in class Object
Object.toString()
public StartArchiveSearchRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()