Interface StartArchiveSearchRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<StartArchiveSearchRequest.Builder,,- StartArchiveSearchRequest> - MailManagerRequest.Builder,- SdkBuilder<StartArchiveSearchRequest.Builder,,- StartArchiveSearchRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- StartArchiveSearchRequest
@Mutable
@NotThreadSafe
public static interface StartArchiveSearchRequest.Builder
extends MailManagerRequest.Builder, SdkPojo, CopyableBuilder<StartArchiveSearchRequest.Builder,StartArchiveSearchRequest> 
- 
Method SummaryModifier and TypeMethodDescriptionThe identifier of the archive to search emails in.filters(Consumer<ArchiveFilters.Builder> filters) Criteria to filter which emails are included in the search results.filters(ArchiveFilters filters) Criteria to filter which emails are included in the search results.fromTimestamp(Instant fromTimestamp) The start timestamp of the range to search emails from.maxResults(Integer maxResults) The maximum number of search results to return.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.toTimestamp(Instant toTimestamp) The end timestamp of the range to search emails from.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.mailmanager.model.MailManagerRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
archiveIdThe identifier of the archive to search emails in. - Parameters:
- archiveId- The identifier of the archive to search emails in.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
filtersCriteria to filter which emails are included in the search results. - Parameters:
- filters- Criteria to filter which emails are included in the search results.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
filtersCriteria to filter which emails are included in the search results. This is a convenience method that creates an instance of theArchiveFilters.Builderavoiding the need to create one manually viaArchiveFilters.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilters(ArchiveFilters).- Parameters:
- filters- a consumer that will call methods on- ArchiveFilters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
fromTimestampThe start timestamp of the range to search emails from. - Parameters:
- fromTimestamp- The start timestamp of the range to search emails from.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
toTimestampThe end timestamp of the range to search emails from. - Parameters:
- toTimestamp- The end timestamp of the range to search emails from.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
maxResultsThe maximum number of search results to return. - Parameters:
- maxResults- The maximum number of search results to return.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
overrideConfigurationStartArchiveSearchRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationStartArchiveSearchRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-