Interface ArchiveRetainRule.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ArchiveRetainRule.Builder,
,ArchiveRetainRule> SdkBuilder<ArchiveRetainRule.Builder,
,ArchiveRetainRule> SdkPojo
- Enclosing class:
ArchiveRetainRule
public static interface ArchiveRetainRule.Builder
extends SdkPojo, CopyableBuilder<ArchiveRetainRule.Builder,ArchiveRetainRule>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ArchiveRetainRule.Builder
retentionArchiveTier
(Consumer<RetentionArchiveTier.Builder> retentionArchiveTier) Information about retention period in the Amazon EBS Snapshots Archive.retentionArchiveTier
(RetentionArchiveTier retentionArchiveTier) Information about retention period in the Amazon EBS Snapshots 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, sdkFields
-
Method Details
-
retentionArchiveTier
Information about retention period in the Amazon EBS Snapshots Archive. For more information, see Archive Amazon EBS snapshots.
- Parameters:
retentionArchiveTier
- Information about retention period in the Amazon EBS Snapshots Archive. For more information, see Archive Amazon EBS snapshots.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retentionArchiveTier
default ArchiveRetainRule.Builder retentionArchiveTier(Consumer<RetentionArchiveTier.Builder> retentionArchiveTier) Information about retention period in the Amazon EBS Snapshots Archive. For more information, see Archive Amazon EBS snapshots.
This is a convenience method that creates an instance of theRetentionArchiveTier.Builder
avoiding the need to create one manually viaRetentionArchiveTier.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toretentionArchiveTier(RetentionArchiveTier)
.- Parameters:
retentionArchiveTier
- a consumer that will call methods onRetentionArchiveTier.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-