| Package | Description |
|---|---|
| com.amazonaws.services.dlm.model |
| Modifier and Type | Method and Description |
|---|---|
RetainRule |
RetainRule.clone() |
RetainRule |
Schedule.getRetainRule()
The retention rule for snapshots or AMIs created by the policy.
|
RetainRule |
RetainRule.withCount(Integer count)
The number of snapshots to retain for each volume, up to a maximum of 1000.
|
RetainRule |
RetainRule.withInterval(Integer interval)
The amount of time to retain each snapshot.
|
RetainRule |
RetainRule.withIntervalUnit(RetentionIntervalUnitValues intervalUnit)
The unit of time for time-based retention.
|
RetainRule |
RetainRule.withIntervalUnit(String intervalUnit)
The unit of time for time-based retention.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Schedule.setRetainRule(RetainRule retainRule)
The retention rule for snapshots or AMIs created by the policy.
|
Schedule |
Schedule.withRetainRule(RetainRule retainRule)
The retention rule for snapshots or AMIs created by the policy.
|
Copyright © 2022. All rights reserved.