Interface CreateOntapSnapshotConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CreateOntapSnapshotConfiguration.Builder,,CreateOntapSnapshotConfiguration> SdkBuilder<CreateOntapSnapshotConfiguration.Builder,,CreateOntapSnapshotConfiguration> SdkPojo
- Enclosing class:
CreateOntapSnapshotConfiguration
@Mutable
@NotThreadSafe
public static interface CreateOntapSnapshotConfiguration.Builder
extends SdkPojo, CopyableBuilder<CreateOntapSnapshotConfiguration.Builder,CreateOntapSnapshotConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionexpiryTime(Instant expiryTime) Specifies the date and time when the snapshot expires.snaplockExpiryTime(Instant snaplockExpiryTime) Specifies the date and time until which the snapshot is locked.snapmirrorLabel(String snapmirrorLabel) Specifies the SnapMirror label to assign to the snapshot.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
-
snapmirrorLabel
Specifies the SnapMirror label to assign to the snapshot. SnapMirror policies use labels to select which snapshots to replicate to a destination volume.
- Parameters:
snapmirrorLabel- Specifies the SnapMirror label to assign to the snapshot. SnapMirror policies use labels to select which snapshots to replicate to a destination volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expiryTime
Specifies the date and time when the snapshot expires. You can't delete the snapshot before this time.
- Parameters:
expiryTime- Specifies the date and time when the snapshot expires. You can't delete the snapshot before this time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snaplockExpiryTime
Specifies the date and time until which the snapshot is locked. This setting takes effect only if snapshot locking is enabled on the volume. Snapshot locking is separate from SnapLock, and enabling SnapLock on a volume doesn't enable snapshot locking. You can't delete the snapshot before this time.
- Parameters:
snaplockExpiryTime- Specifies the date and time until which the snapshot is locked. This setting takes effect only if snapshot locking is enabled on the volume. Snapshot locking is separate from SnapLock, and enabling SnapLock on a volume doesn't enable snapshot locking. You can't delete the snapshot before this time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-