Interface MigrationSnapshotManagementSettings.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MigrationSnapshotManagementSettings.Builder,,MigrationSnapshotManagementSettings> SdkBuilder<MigrationSnapshotManagementSettings.Builder,,MigrationSnapshotManagementSettings> SdkPojo
- Enclosing class:
MigrationSnapshotManagementSettings
@Mutable
@NotThreadSafe
public static interface MigrationSnapshotManagementSettings.Builder
extends SdkPojo, CopyableBuilder<MigrationSnapshotManagementSettings.Builder,MigrationSnapshotManagementSettings>
-
Method Summary
Modifier and TypeMethodDescriptionmaxSnapshotAgeHours(Integer maxSnapshotAgeHours) The maximum age, in hours, of a snapshot before it can be expired.minSnapshotsToKeep(Integer minSnapshotsToKeep) The minimum number of snapshots to keep.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
minSnapshotsToKeep
The minimum number of snapshots to keep. The value must be 3 or more. The default is 3.
- Parameters:
minSnapshotsToKeep- The minimum number of snapshots to keep. The value must be 3 or more. The default is 3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxSnapshotAgeHours
The maximum age, in hours, of a snapshot before it can be expired. The default is 120.
- Parameters:
maxSnapshotAgeHours- The maximum age, in hours, of a snapshot before it can be expired. The default is 120.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-