Interface CrossRegionCopyDeprecateRule.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CrossRegionCopyDeprecateRule.Builder,,CrossRegionCopyDeprecateRule> SdkBuilder<CrossRegionCopyDeprecateRule.Builder,,CrossRegionCopyDeprecateRule> SdkPojo
- Enclosing class:
CrossRegionCopyDeprecateRule
public static interface CrossRegionCopyDeprecateRule.Builder
extends SdkPojo, CopyableBuilder<CrossRegionCopyDeprecateRule.Builder,CrossRegionCopyDeprecateRule>
-
Method Summary
Modifier and TypeMethodDescriptionThe period after which to deprecate the cross-Region AMI copies.intervalUnit(String intervalUnit) The unit of time in which to measure the Interval.intervalUnit(RetentionIntervalUnitValues intervalUnit) The unit of time in which to measure the Interval.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
interval
The period after which to deprecate the cross-Region AMI copies. The period must be less than or equal to the cross-Region AMI copy retention period, and it can't be greater than 10 years. This is equivalent to 120 months, 520 weeks, or 3650 days.
- Parameters:
interval- The period after which to deprecate the cross-Region AMI copies. The period must be less than or equal to the cross-Region AMI copy retention period, and it can't be greater than 10 years. This is equivalent to 120 months, 520 weeks, or 3650 days.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
intervalUnit
The unit of time in which to measure the Interval. For example, to deprecate a cross-Region AMI copy after 3 months, specify
Interval=3andIntervalUnit=MONTHS.- Parameters:
intervalUnit- The unit of time in which to measure the Interval. For example, to deprecate a cross-Region AMI copy after 3 months, specifyInterval=3andIntervalUnit=MONTHS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
intervalUnit
The unit of time in which to measure the Interval. For example, to deprecate a cross-Region AMI copy after 3 months, specify
Interval=3andIntervalUnit=MONTHS.- Parameters:
intervalUnit- The unit of time in which to measure the Interval. For example, to deprecate a cross-Region AMI copy after 3 months, specifyInterval=3andIntervalUnit=MONTHS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-