Interface SnapmirrorPolicyRetentionRule.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SnapmirrorPolicyRetentionRule.Builder,,SnapmirrorPolicyRetentionRule> SdkBuilder<SnapmirrorPolicyRetentionRule.Builder,,SnapmirrorPolicyRetentionRule> SdkPojo
- Enclosing class:
SnapmirrorPolicyRetentionRule
@Mutable
@NotThreadSafe
public static interface SnapmirrorPolicyRetentionRule.Builder
extends SdkPojo, CopyableBuilder<SnapmirrorPolicyRetentionRule.Builder,SnapmirrorPolicyRetentionRule>
-
Method Summary
Modifier and TypeMethodDescriptionThe number of snapshots with the label to retain on the destination volume.creationSchedule(String creationSchedule) The name of the ONTAP schedule on which SnapMirror creates snapshots with the label directly on the destination volume.The SnapMirror label of the snapshots that the rule applies to.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
-
label
The SnapMirror label of the snapshots that the rule applies to.
- Parameters:
label- The SnapMirror label of the snapshots that the rule applies to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
count
The number of snapshots with the label to retain on the destination volume.
- Parameters:
count- The number of snapshots with the label to retain on the destination volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationSchedule
The name of the ONTAP schedule on which SnapMirror creates snapshots with the label directly on the destination volume.
- Parameters:
creationSchedule- The name of the ONTAP schedule on which SnapMirror creates snapshots with the label directly on the destination volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-