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 Summary
Modifier 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.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.mailmanager.model.MailManagerRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
archiveId
The 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.
-
exportDestinationConfiguration
StartArchiveExportRequest.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.
-
exportDestinationConfiguration
default 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.Builder
avoiding the need to create one manually viaExportDestinationConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexportDestinationConfiguration(ExportDestinationConfiguration)
.- Parameters:
exportDestinationConfiguration
- a consumer that will call methods onExportDestinationConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
filters
Criteria 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.
-
filters
Criteria to filter which emails are included in the export.
This is a convenience method that creates an instance of theArchiveFilters.Builder
avoiding the need to create one manually viaArchiveFilters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilters(ArchiveFilters)
.- Parameters:
filters
- a consumer that will call methods onArchiveFilters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fromTimestamp
The 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.
-
includeMetadata
Whether 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.
-
maxResults
The 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.
-
toTimestamp
The 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.
-
overrideConfiguration
StartArchiveExportRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
StartArchiveExportRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-