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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CrossRegionCopyDeprecateRule.Builderinterval(Integer interval)The period after which to deprecate the cross-Region AMI copies.CrossRegionCopyDeprecateRule.BuilderintervalUnit(String intervalUnit)The unit of time in which to measure the Interval.CrossRegionCopyDeprecateRule.BuilderintervalUnit(RetentionIntervalUnitValues intervalUnit)The unit of time in which to measure the Interval.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
interval
CrossRegionCopyDeprecateRule.Builder interval(Integer 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
CrossRegionCopyDeprecateRule.Builder intervalUnit(String 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:
RetentionIntervalUnitValues,RetentionIntervalUnitValues
-
intervalUnit
CrossRegionCopyDeprecateRule.Builder intervalUnit(RetentionIntervalUnitValues 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:
RetentionIntervalUnitValues,RetentionIntervalUnitValues
-
-