public static interface ArchiveRule.Builder extends SdkPojo, CopyableBuilder<ArchiveRule.Builder,ArchiveRule>
| Modifier and Type | Method and Description |
|---|---|
ArchiveRule.Builder |
retainRule(ArchiveRetainRule retainRule)
Information about the retention period for the snapshot archiving rule.
|
default ArchiveRule.Builder |
retainRule(Consumer<ArchiveRetainRule.Builder> retainRule)
Information about the retention period for the snapshot archiving rule.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildArchiveRule.Builder retainRule(ArchiveRetainRule retainRule)
Information about the retention period for the snapshot archiving rule.
retainRule - Information about the retention period for the snapshot archiving rule.default ArchiveRule.Builder retainRule(Consumer<ArchiveRetainRule.Builder> retainRule)
Information about the retention period for the snapshot archiving rule.
This is a convenience method that creates an instance of theArchiveRetainRule.Builder avoiding the
need to create one manually via ArchiveRetainRule.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to retainRule(ArchiveRetainRule).
retainRule - a consumer that will call methods on ArchiveRetainRule.BuilderretainRule(ArchiveRetainRule)Copyright © 2023. All rights reserved.