public static interface SnaplockRetentionPeriod.Builder extends SdkPojo, CopyableBuilder<SnaplockRetentionPeriod.Builder,SnaplockRetentionPeriod>
| Modifier and Type | Method and Description |
|---|---|
default SnaplockRetentionPeriod.Builder |
defaultRetention(Consumer<RetentionPeriod.Builder> defaultRetention)
The retention period assigned to a write once, read many (WORM) file by default if an explicit retention
period is not set for an FSx for ONTAP SnapLock volume.
|
SnaplockRetentionPeriod.Builder |
defaultRetention(RetentionPeriod defaultRetention)
The retention period assigned to a write once, read many (WORM) file by default if an explicit retention
period is not set for an FSx for ONTAP SnapLock volume.
|
default SnaplockRetentionPeriod.Builder |
maximumRetention(Consumer<RetentionPeriod.Builder> maximumRetention)
The longest retention period that can be assigned to a WORM file on an FSx for ONTAP SnapLock volume.
|
SnaplockRetentionPeriod.Builder |
maximumRetention(RetentionPeriod maximumRetention)
The longest retention period that can be assigned to a WORM file on an FSx for ONTAP SnapLock volume.
|
default SnaplockRetentionPeriod.Builder |
minimumRetention(Consumer<RetentionPeriod.Builder> minimumRetention)
The shortest retention period that can be assigned to a WORM file on an FSx for ONTAP SnapLock volume.
|
SnaplockRetentionPeriod.Builder |
minimumRetention(RetentionPeriod minimumRetention)
The shortest retention period that can be assigned to a WORM file on an FSx for ONTAP SnapLock volume.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSnaplockRetentionPeriod.Builder defaultRetention(RetentionPeriod defaultRetention)
The retention period assigned to a write once, read many (WORM) file by default if an explicit retention period is not set for an FSx for ONTAP SnapLock volume. The default retention period must be greater than or equal to the minimum retention period and less than or equal to the maximum retention period.
defaultRetention - The retention period assigned to a write once, read many (WORM) file by default if an explicit
retention period is not set for an FSx for ONTAP SnapLock volume. The default retention period must be
greater than or equal to the minimum retention period and less than or equal to the maximum retention
period.default SnaplockRetentionPeriod.Builder defaultRetention(Consumer<RetentionPeriod.Builder> defaultRetention)
The retention period assigned to a write once, read many (WORM) file by default if an explicit retention period is not set for an FSx for ONTAP SnapLock volume. The default retention period must be greater than or equal to the minimum retention period and less than or equal to the maximum retention period.
This is a convenience method that creates an instance of theRetentionPeriod.Builder avoiding the
need to create one manually via RetentionPeriod.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to defaultRetention(RetentionPeriod).
defaultRetention - a consumer that will call methods on RetentionPeriod.BuilderdefaultRetention(RetentionPeriod)SnaplockRetentionPeriod.Builder minimumRetention(RetentionPeriod minimumRetention)
The shortest retention period that can be assigned to a WORM file on an FSx for ONTAP SnapLock volume.
minimumRetention - The shortest retention period that can be assigned to a WORM file on an FSx for ONTAP SnapLock volume.default SnaplockRetentionPeriod.Builder minimumRetention(Consumer<RetentionPeriod.Builder> minimumRetention)
The shortest retention period that can be assigned to a WORM file on an FSx for ONTAP SnapLock volume.
This is a convenience method that creates an instance of theRetentionPeriod.Builder avoiding the
need to create one manually via RetentionPeriod.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to minimumRetention(RetentionPeriod).
minimumRetention - a consumer that will call methods on RetentionPeriod.BuilderminimumRetention(RetentionPeriod)SnaplockRetentionPeriod.Builder maximumRetention(RetentionPeriod maximumRetention)
The longest retention period that can be assigned to a WORM file on an FSx for ONTAP SnapLock volume.
maximumRetention - The longest retention period that can be assigned to a WORM file on an FSx for ONTAP SnapLock volume.default SnaplockRetentionPeriod.Builder maximumRetention(Consumer<RetentionPeriod.Builder> maximumRetention)
The longest retention period that can be assigned to a WORM file on an FSx for ONTAP SnapLock volume.
This is a convenience method that creates an instance of theRetentionPeriod.Builder avoiding the
need to create one manually via RetentionPeriod.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to maximumRetention(RetentionPeriod).
maximumRetention - a consumer that will call methods on RetentionPeriod.BuildermaximumRetention(RetentionPeriod)Copyright © 2023. All rights reserved.