Interface RetentionArchiveTier.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RetentionArchiveTier.Builder,
,RetentionArchiveTier> SdkBuilder<RetentionArchiveTier.Builder,
,RetentionArchiveTier> SdkPojo
- Enclosing class:
RetentionArchiveTier
-
Method Summary
Modifier and TypeMethodDescriptionThe maximum number of snapshots to retain in the archive storage tier for each volume.Specifies the period of time to retain snapshots in the archive tier.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
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 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
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
andIntervalUnit=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, specifyInterval=6
andIntervalUnit=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
andIntervalUnit=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, specifyInterval=6
andIntervalUnit=MONTHS
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-