Interface SnapshotPolicyRetentionPeriod.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SnapshotPolicyRetentionPeriod.Builder,,SnapshotPolicyRetentionPeriod> SdkBuilder<SnapshotPolicyRetentionPeriod.Builder,,SnapshotPolicyRetentionPeriod> SdkPojo
- Enclosing class:
SnapshotPolicyRetentionPeriod
@Mutable
@NotThreadSafe
public static interface SnapshotPolicyRetentionPeriod.Builder
extends SdkPojo, CopyableBuilder<SnapshotPolicyRetentionPeriod.Builder,SnapshotPolicyRetentionPeriod>
-
Method Summary
Modifier and TypeMethodDescriptionThe unit of time for the retention period.The unit of time for the retention period.Defines the amount of time for the retention period.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
-
type
The unit of time for the retention period. If you set it to
INFINITE, the snapshots are retained forever.- Parameters:
type- The unit of time for the retention period. If you set it toINFINITE, the snapshots are retained forever.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The unit of time for the retention period. If you set it to
INFINITE, the snapshots are retained forever.- Parameters:
type- The unit of time for the retention period. If you set it toINFINITE, the snapshots are retained forever.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
value
Defines the amount of time for the retention period. You can't set a value for
INFINITE.- Parameters:
value- Defines the amount of time for the retention period. You can't set a value forINFINITE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-