| Package | Description |
|---|---|
| com.amazonaws.services.dlm.model |
| Modifier and Type | Method and Description |
|---|---|
DeprecateRule |
DeprecateRule.clone() |
DeprecateRule |
Schedule.getDeprecateRule()
[AMI policies only] The AMI deprecation rule for the schedule.
|
DeprecateRule |
DeprecateRule.withCount(Integer count)
If the schedule has a count-based retention rule, this parameter specifies the number of oldest AMIs to
deprecate.
|
DeprecateRule |
DeprecateRule.withInterval(Integer interval)
If the schedule has an age-based retention rule, this parameter specifies the period after which to deprecate
AMIs created by the schedule.
|
DeprecateRule |
DeprecateRule.withIntervalUnit(RetentionIntervalUnitValues intervalUnit)
The unit of time in which to measure the Interval.
|
DeprecateRule |
DeprecateRule.withIntervalUnit(String intervalUnit)
The unit of time in which to measure the Interval.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Schedule.setDeprecateRule(DeprecateRule deprecateRule)
[AMI policies only] The AMI deprecation rule for the schedule.
|
Schedule |
Schedule.withDeprecateRule(DeprecateRule deprecateRule)
[AMI policies only] The AMI deprecation rule for the schedule.
|
Copyright © 2023. All rights reserved.