Class GetArchiveSearchResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.mailmanager.model.MailManagerResponse
-
- software.amazon.awssdk.services.mailmanager.model.GetArchiveSearchResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetArchiveSearchResponse.Builder,GetArchiveSearchResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetArchiveSearchResponse extends MailManagerResponse implements ToCopyableBuilder<GetArchiveSearchResponse.Builder,GetArchiveSearchResponse>
The response containing details of the specified archive search job.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetArchiveSearchResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringarchiveId()The identifier of the archive the email search was performed in.static GetArchiveSearchResponse.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)ArchiveFiltersfilters()The criteria used to filter emails included in the search.InstantfromTimestamp()The start timestamp of the range the searched emails cover.<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 GetArchiveSearchResponse.Builder>serializableBuilderClass()SearchStatusstatus()The current status of the search job.GetArchiveSearchResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.InstanttoTimestamp()The end timestamp of the range the searched emails cover.-
Methods inherited from class software.amazon.awssdk.services.mailmanager.model.MailManagerResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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 the email search was performed in.
- Returns:
- The identifier of the archive the email search was performed in.
-
filters
public final ArchiveFilters filters()
The criteria used to filter emails included in the search.
- Returns:
- The criteria used to filter emails included in the search.
-
fromTimestamp
public final Instant fromTimestamp()
The start timestamp of the range the searched emails cover.
- Returns:
- The start timestamp of the range the searched emails cover.
-
maxResults
public final Integer maxResults()
The maximum number of search results to return.
- Returns:
- The maximum number of search results to return.
-
status
public final SearchStatus status()
The current status of the search job.
- Returns:
- The current status of the search job.
-
toTimestamp
public final Instant toTimestamp()
The end timestamp of the range the searched emails cover.
- Returns:
- The end timestamp of the range the searched emails cover.
-
toBuilder
public GetArchiveSearchResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetArchiveSearchResponse.Builder,GetArchiveSearchResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetArchiveSearchResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetArchiveSearchResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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 classSdkResponse
-
-