| Package | Description |
|---|---|
| software.amazon.awssdk.services.dlm.model |
| Modifier and Type | Method and Description |
|---|---|
static DeprecateRule.Builder |
DeprecateRule.builder() |
DeprecateRule.Builder |
DeprecateRule.Builder.count(Integer count)
If the schedule has a count-based retention rule, this parameter specifies the number of oldest AMIs to
deprecate.
|
DeprecateRule.Builder |
DeprecateRule.Builder.interval(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.Builder |
DeprecateRule.Builder.intervalUnit(RetentionIntervalUnitValues intervalUnit)
The unit of time in which to measure the Interval.
|
DeprecateRule.Builder |
DeprecateRule.Builder.intervalUnit(String intervalUnit)
The unit of time in which to measure the Interval.
|
DeprecateRule.Builder |
DeprecateRule.toBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends DeprecateRule.Builder> |
DeprecateRule.serializableBuilderClass() |
| Modifier and Type | Method and Description |
|---|---|
default Schedule.Builder |
Schedule.Builder.deprecateRule(Consumer<DeprecateRule.Builder> deprecateRule)
[AMI policies only] The AMI deprecation rule for the schedule.
|
Copyright © 2023. All rights reserved.