Interface ArchiveRetention.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ArchiveRetention.Builder,
,ArchiveRetention> SdkBuilder<ArchiveRetention.Builder,
,ArchiveRetention> SdkPojo
- Enclosing class:
ArchiveRetention
@Mutable
@NotThreadSafe
public static interface ArchiveRetention.Builder
extends SdkPojo, CopyableBuilder<ArchiveRetention.Builder,ArchiveRetention>
-
Method Summary
Modifier and TypeMethodDescriptionretentionPeriod
(String retentionPeriod) The enum value sets the period for retaining emails in an archive.retentionPeriod
(RetentionPeriod retentionPeriod) The enum value sets the period for retaining emails in an archive.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
-
retentionPeriod
The enum value sets the period for retaining emails in an archive.
- Parameters:
retentionPeriod
- The enum value sets the period for retaining emails in an archive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
retentionPeriod
The enum value sets the period for retaining emails in an archive.
- Parameters:
retentionPeriod
- The enum value sets the period for retaining emails in an archive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-