Interface CrossRegionCopyRetainRule.Builder

  • Method Details

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

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • intervalUnit

      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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: