Class StartArchiveSearchRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.mailmanager.model.MailManagerRequest
-
- software.amazon.awssdk.services.mailmanager.model.StartArchiveSearchRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<StartArchiveSearchRequest.Builder,StartArchiveSearchRequest>
@Generated("software.amazon.awssdk:codegen") public final class StartArchiveSearchRequest extends MailManagerRequest implements ToCopyableBuilder<StartArchiveSearchRequest.Builder,StartArchiveSearchRequest>
The request to initiate a search across emails in an archive.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStartArchiveSearchRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringarchiveId()The identifier of the archive to search emails in.static StartArchiveSearchRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)ArchiveFiltersfilters()Criteria to filter which emails are included in the search results.InstantfromTimestamp()The start timestamp of the range to search emails from.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxResults()The maximum number of search results to return.List<SdkField<?>>sdkFields()static Class<? extends StartArchiveSearchRequest.Builder>serializableBuilderClass()StartArchiveSearchRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.InstanttoTimestamp()The end timestamp of the range to search emails from.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
archiveId
public final String archiveId()
The identifier of the archive to search emails in.
- Returns:
- The identifier of the archive to search emails in.
-
filters
public final ArchiveFilters filters()
Criteria to filter which emails are included in the search results.
- Returns:
- Criteria to filter which emails are included in the search results.
-
fromTimestamp
public final Instant fromTimestamp()
The start timestamp of the range to search emails from.
- Returns:
- The start timestamp of the range to search emails from.
-
maxResults
public final Integer maxResults()
The maximum number of search results to return.
- Returns:
- The maximum number of search results to return.
-
toTimestamp
public final Instant toTimestamp()
The end timestamp of the range to search emails from.
- Returns:
- The end timestamp of the range to search emails from.
-
toBuilder
public StartArchiveSearchRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StartArchiveSearchRequest.Builder,StartArchiveSearchRequest>- Specified by:
toBuilderin classMailManagerRequest
-
builder
public static StartArchiveSearchRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends StartArchiveSearchRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-