Interface StartArchiveExportRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<StartArchiveExportRequest.Builder,,- StartArchiveExportRequest> - MailManagerRequest.Builder,- SdkBuilder<StartArchiveExportRequest.Builder,,- StartArchiveExportRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- StartArchiveExportRequest
- 
Method SummaryModifier and TypeMethodDescriptionThe identifier of the archive to export emails from.exportDestinationConfiguration(Consumer<ExportDestinationConfiguration.Builder> exportDestinationConfiguration) Details on where to deliver the exported email data.exportDestinationConfiguration(ExportDestinationConfiguration exportDestinationConfiguration) Details on where to deliver the exported email data.filters(Consumer<ArchiveFilters.Builder> filters) Criteria to filter which emails are included in the export.filters(ArchiveFilters filters) Criteria to filter which emails are included in the export.fromTimestamp(Instant fromTimestamp) The start of the timestamp range to include emails from.includeMetadata(Boolean includeMetadata) Whether to include message metadata as JSON files in the export.maxResults(Integer maxResults) The maximum number of email items to include in the export.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 of the timestamp range to include 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 export emails from. - Parameters:
- archiveId- The identifier of the archive to export emails from.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
filtersCriteria to filter which emails are included in the export. - Parameters:
- filters- Criteria to filter which emails are included in the export.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
filtersCriteria to filter which emails are included in the export. 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 of the timestamp range to include emails from. - Parameters:
- fromTimestamp- The start of the timestamp range to include emails from.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
toTimestampThe end of the timestamp range to include emails from. - Parameters:
- toTimestamp- The end of the timestamp range to include emails from.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
maxResultsThe maximum number of email items to include in the export. - Parameters:
- maxResults- The maximum number of email items to include in the export.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
exportDestinationConfigurationStartArchiveExportRequest.Builder exportDestinationConfiguration(ExportDestinationConfiguration exportDestinationConfiguration) Details on where to deliver the exported email data. - Parameters:
- exportDestinationConfiguration- Details on where to deliver the exported email data.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
exportDestinationConfigurationdefault StartArchiveExportRequest.Builder exportDestinationConfiguration(Consumer<ExportDestinationConfiguration.Builder> exportDestinationConfiguration) Details on where to deliver the exported email data. This is a convenience method that creates an instance of theExportDestinationConfiguration.Builderavoiding the need to create one manually viaExportDestinationConfiguration.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexportDestinationConfiguration(ExportDestinationConfiguration).- Parameters:
- exportDestinationConfiguration- a consumer that will call methods on- ExportDestinationConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
includeMetadataWhether to include message metadata as JSON files in the export. - Parameters:
- includeMetadata- Whether to include message metadata as JSON files in the export.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
overrideConfigurationStartArchiveExportRequest.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.
 
- 
overrideConfigurationStartArchiveExportRequest.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.
 
 
-