Interface GetArchiveExportResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetArchiveExportResponse.Builder,
,GetArchiveExportResponse> MailManagerResponse.Builder
,SdkBuilder<GetArchiveExportResponse.Builder,
,GetArchiveExportResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetArchiveExportResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier of the archive the email export was performed from.default GetArchiveExportResponse.Builder
exportDestinationConfiguration
(Consumer<ExportDestinationConfiguration.Builder> exportDestinationConfiguration) Where the exported emails are being delivered.exportDestinationConfiguration
(ExportDestinationConfiguration exportDestinationConfiguration) Where the exported emails are being delivered.default GetArchiveExportResponse.Builder
filters
(Consumer<ArchiveFilters.Builder> filters) The criteria used to filter emails included in the export.filters
(ArchiveFilters filters) The criteria used to filter emails included in the export.fromTimestamp
(Instant fromTimestamp) The start of the timestamp range the exported emails cover.maxResults
(Integer maxResults) The maximum number of email items included in the export.default GetArchiveExportResponse.Builder
status
(Consumer<ExportStatus.Builder> status) The current status of the export job.status
(ExportStatus status) The current status of the export job.toTimestamp
(Instant toTimestamp) The end of the date range the exported emails cover.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.mailmanager.model.MailManagerResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
archiveId
The identifier of the archive the email export was performed from.
- Parameters:
archiveId
- The identifier of the archive the email export was performed from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exportDestinationConfiguration
GetArchiveExportResponse.Builder exportDestinationConfiguration(ExportDestinationConfiguration exportDestinationConfiguration) Where the exported emails are being delivered.
- Parameters:
exportDestinationConfiguration
- Where the exported emails are being delivered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exportDestinationConfiguration
default GetArchiveExportResponse.Builder exportDestinationConfiguration(Consumer<ExportDestinationConfiguration.Builder> exportDestinationConfiguration) Where the exported emails are being delivered.
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
The criteria used to filter emails included in the export.
- Parameters:
filters
- The criteria used to filter emails included in the export.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
The criteria used to filter emails 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 the exported emails cover.
- Parameters:
fromTimestamp
- The start of the timestamp range the exported emails cover.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of email items included in the export.
- Parameters:
maxResults
- The maximum number of email items included in the export.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the export job.
- Parameters:
status
- The current status of the export job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the export job.
This is a convenience method that creates an instance of theExportStatus.Builder
avoiding the need to create one manually viaExportStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatus(ExportStatus)
.- Parameters:
status
- a consumer that will call methods onExportStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
toTimestamp
The end of the date range the exported emails cover.
- Parameters:
toTimestamp
- The end of the date range the exported emails cover.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-