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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RetentionArchiveTier.Buildercount(Integer count)The maximum number of snapshots to retain in the archive storage tier for each volume.RetentionArchiveTier.Builderinterval(Integer interval)Specifies the period of time to retain snapshots in the archive tier.RetentionArchiveTier.BuilderintervalUnit(String intervalUnit)The unit of time in which to measure the Interval.RetentionArchiveTier.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
-
count
RetentionArchiveTier.Builder count(Integer 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
RetentionArchiveTier.Builder interval(Integer 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=6andIntervalUnit=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=6andIntervalUnit=MONTHS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RetentionIntervalUnitValues,RetentionIntervalUnitValues
-
intervalUnit
RetentionArchiveTier.Builder intervalUnit(RetentionIntervalUnitValues 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=6andIntervalUnit=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=6andIntervalUnit=MONTHS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RetentionIntervalUnitValues,RetentionIntervalUnitValues
-
-