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 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

      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=3 and IntervalUnit=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, specify Interval=3 and IntervalUnit=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=3 and IntervalUnit=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, specify Interval=3 and IntervalUnit=MONTHS.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: