public static interface RetainRule.Builder extends SdkPojo, CopyableBuilder<RetainRule.Builder,RetainRule>
| Modifier and Type | Method and Description |
|---|---|
RetainRule.Builder |
count(Integer count)
The number of snapshots to retain for each volume, up to a maximum of 1000.
|
RetainRule.Builder |
interval(Integer interval)
The amount of time to retain each snapshot.
|
RetainRule.Builder |
intervalUnit(RetentionIntervalUnitValues intervalUnit)
The unit of time for time-based retention.
|
RetainRule.Builder |
intervalUnit(String intervalUnit)
The unit of time for time-based retention.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildRetainRule.Builder count(Integer count)
The number of snapshots to retain for each volume, up to a maximum of 1000.
count - The number of snapshots to retain for each volume, up to a maximum of 1000.RetainRule.Builder interval(Integer interval)
The amount of time to retain each snapshot. The maximum is 100 years. This is equivalent to 1200 months, 5200 weeks, or 36500 days.
interval - The amount of time to retain each snapshot. The maximum is 100 years. This is equivalent to 1200
months, 5200 weeks, or 36500 days.RetainRule.Builder intervalUnit(String intervalUnit)
The unit of time for time-based retention.
intervalUnit - The unit of time for time-based retention.RetentionIntervalUnitValues,
RetentionIntervalUnitValuesRetainRule.Builder intervalUnit(RetentionIntervalUnitValues intervalUnit)
The unit of time for time-based retention.
intervalUnit - The unit of time for time-based retention.RetentionIntervalUnitValues,
RetentionIntervalUnitValuesCopyright © 2020. All rights reserved.