public static interface CrossRegionCopyRetainRule.Builder extends SdkPojo, CopyableBuilder<CrossRegionCopyRetainRule.Builder,CrossRegionCopyRetainRule>
| Modifier and Type | Method and Description |
|---|---|
CrossRegionCopyRetainRule.Builder |
interval(Integer interval)
The amount of time to retain a cross-Region snapshot or AMI copy.
|
CrossRegionCopyRetainRule.Builder |
intervalUnit(RetentionIntervalUnitValues intervalUnit)
The unit of time for time-based retention.
|
CrossRegionCopyRetainRule.Builder |
intervalUnit(String intervalUnit)
The unit of time for time-based retention.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCrossRegionCopyRetainRule.Builder interval(Integer interval)
The amount of time to retain a cross-Region snapshot or AMI copy. The maximum is 100 years. This is equivalent to 1200 months, 5200 weeks, or 36500 days.
interval - The amount of time to retain a cross-Region snapshot or AMI copy. The maximum is 100 years. This is
equivalent to 1200 months, 5200 weeks, or 36500 days.CrossRegionCopyRetainRule.Builder intervalUnit(String intervalUnit)
The unit of time for time-based retention. For example, to retain a cross-Region copy for 3 months, specify
Interval=3 and IntervalUnit=MONTHS.
intervalUnit - The unit of time for time-based retention. For example, to retain a cross-Region copy for 3 months,
specify Interval=3 and IntervalUnit=MONTHS.RetentionIntervalUnitValues,
RetentionIntervalUnitValuesCrossRegionCopyRetainRule.Builder intervalUnit(RetentionIntervalUnitValues intervalUnit)
The unit of time for time-based retention. For example, to retain a cross-Region copy for 3 months, specify
Interval=3 and IntervalUnit=MONTHS.
intervalUnit - The unit of time for time-based retention. For example, to retain a cross-Region copy for 3 months,
specify Interval=3 and IntervalUnit=MONTHS.RetentionIntervalUnitValues,
RetentionIntervalUnitValuesCopyright © 2023. All rights reserved.