Interface RetentionArchiveTier.Builder

All Superinterfaces:
Buildable, CopyableBuilder<RetentionArchiveTier.Builder,RetentionArchiveTier>, SdkBuilder<RetentionArchiveTier.Builder,RetentionArchiveTier>, SdkPojo
Enclosing class:
RetentionArchiveTier

public static interface RetentionArchiveTier.Builder extends SdkPojo, CopyableBuilder<RetentionArchiveTier.Builder,RetentionArchiveTier>
  • Method Details

    • count

      The maximum number of snapshots to retain in the archive storage tier for each volume. The count must ensure that each snapshot remains in the archive tier for at least 90 days. For example, if the schedule creates snapshots every 30 days, you must specify a count of 3 or more to ensure that each snapshot is archived for at least 90 days.

      Parameters:
      count - The maximum number of snapshots to retain in the archive storage tier for each volume. The count must ensure that each snapshot remains in the archive tier for at least 90 days. For example, if the schedule creates snapshots every 30 days, you must specify a count of 3 or more to ensure that each snapshot is archived for at least 90 days.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • interval

      Specifies the period of time to retain snapshots in the archive tier. After this period expires, the snapshot is permanently deleted.

      Parameters:
      interval - Specifies the period of time to retain snapshots in the archive tier. After this period expires, the snapshot is permanently deleted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • intervalUnit

      RetentionArchiveTier.Builder intervalUnit(String intervalUnit)

      The unit of time in which to measure the Interval. For example, to retain a snapshots in the archive tier for 6 months, specify Interval=6 and IntervalUnit=MONTHS.

      Parameters:
      intervalUnit - The unit of time in which to measure the Interval. For example, to retain a snapshots in the archive tier for 6 months, specify Interval=6 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 retain a snapshots in the archive tier for 6 months, specify Interval=6 and IntervalUnit=MONTHS.

      Parameters:
      intervalUnit - The unit of time in which to measure the Interval. For example, to retain a snapshots in the archive tier for 6 months, specify Interval=6 and IntervalUnit=MONTHS.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: