Interface GetArchiveExportResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetArchiveExportResponse.Builder,GetArchiveExportResponse>,MailManagerResponse.Builder,SdkBuilder<GetArchiveExportResponse.Builder,GetArchiveExportResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetArchiveExportResponse
public static interface GetArchiveExportResponse.Builder extends MailManagerResponse.Builder, SdkPojo, CopyableBuilder<GetArchiveExportResponse.Builder,GetArchiveExportResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetArchiveExportResponse.BuilderarchiveId(String archiveId)The identifier of the archive the email export was performed from.default GetArchiveExportResponse.BuilderexportDestinationConfiguration(Consumer<ExportDestinationConfiguration.Builder> exportDestinationConfiguration)Where the exported emails are being delivered.GetArchiveExportResponse.BuilderexportDestinationConfiguration(ExportDestinationConfiguration exportDestinationConfiguration)Where the exported emails are being delivered.default GetArchiveExportResponse.Builderfilters(Consumer<ArchiveFilters.Builder> filters)The criteria used to filter emails included in the export.GetArchiveExportResponse.Builderfilters(ArchiveFilters filters)The criteria used to filter emails included in the export.GetArchiveExportResponse.BuilderfromTimestamp(Instant fromTimestamp)The start of the timestamp range the exported emails cover.GetArchiveExportResponse.BuildermaxResults(Integer maxResults)The maximum number of email items included in the export.default GetArchiveExportResponse.Builderstatus(Consumer<ExportStatus.Builder> status)The current status of the export job.GetArchiveExportResponse.Builderstatus(ExportStatus status)The current status of the export job.GetArchiveExportResponse.BuildertoTimestamp(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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
archiveId
GetArchiveExportResponse.Builder archiveId(String 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.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 onExportDestinationConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
exportDestinationConfiguration(ExportDestinationConfiguration)
-
filters
GetArchiveExportResponse.Builder filters(ArchiveFilters 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
default GetArchiveExportResponse.Builder filters(Consumer<ArchiveFilters.Builder> filters)
The criteria used to filter emails 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 onArchiveFilters.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
filters(ArchiveFilters)
-
fromTimestamp
GetArchiveExportResponse.Builder fromTimestamp(Instant 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
GetArchiveExportResponse.Builder maxResults(Integer 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
GetArchiveExportResponse.Builder status(ExportStatus 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
default GetArchiveExportResponse.Builder status(Consumer<ExportStatus.Builder> status)
The current status of the export job.
This is a convenience method that creates an instance of theExportStatus.Builderavoiding the need to create one manually viaExportStatus.builder().When the
Consumercompletes,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:
status(ExportStatus)
-
toTimestamp
GetArchiveExportResponse.Builder toTimestamp(Instant 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.
-
-