Interface StartArchiveExportRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StartArchiveExportRequest.Builder,StartArchiveExportRequest>,MailManagerRequest.Builder,SdkBuilder<StartArchiveExportRequest.Builder,StartArchiveExportRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- StartArchiveExportRequest
public static interface StartArchiveExportRequest.Builder extends MailManagerRequest.Builder, SdkPojo, CopyableBuilder<StartArchiveExportRequest.Builder,StartArchiveExportRequest>
-
-
Method Summary
-
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, sdkFields
-
-
-
-
Method Detail
-
archiveId
StartArchiveExportRequest.Builder archiveId(String 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.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
StartArchiveExportRequest.Builder filters(ArchiveFilters 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
default StartArchiveExportRequest.Builder filters(Consumer<ArchiveFilters.Builder> filters)
Criteria 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 onArchiveFilters.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
filters(ArchiveFilters)
-
fromTimestamp
StartArchiveExportRequest.Builder fromTimestamp(Instant 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.
-
maxResults
StartArchiveExportRequest.Builder maxResults(Integer 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
StartArchiveExportRequest.Builder toTimestamp(Instant 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
StartArchiveExportRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-