Interface CreateOpenZFSOriginSnapshotConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CreateOpenZFSOriginSnapshotConfiguration.Builder,CreateOpenZFSOriginSnapshotConfiguration>,SdkBuilder<CreateOpenZFSOriginSnapshotConfiguration.Builder,CreateOpenZFSOriginSnapshotConfiguration>,SdkPojo
- Enclosing class:
- CreateOpenZFSOriginSnapshotConfiguration
public static interface CreateOpenZFSOriginSnapshotConfiguration.Builder extends SdkPojo, CopyableBuilder<CreateOpenZFSOriginSnapshotConfiguration.Builder,CreateOpenZFSOriginSnapshotConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateOpenZFSOriginSnapshotConfiguration.BuildercopyStrategy(String copyStrategy)Specifies the strategy used when copying data from the snapshot to the new volume.CreateOpenZFSOriginSnapshotConfiguration.BuildercopyStrategy(OpenZFSCopyStrategy copyStrategy)Specifies the strategy used when copying data from the snapshot to the new volume.CreateOpenZFSOriginSnapshotConfiguration.BuildersnapshotARN(String snapshotARN)Sets the value of the SnapshotARN property for this object.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
snapshotARN
CreateOpenZFSOriginSnapshotConfiguration.Builder snapshotARN(String snapshotARN)
Sets the value of the SnapshotARN property for this object.- Parameters:
snapshotARN- The new value for the SnapshotARN property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
copyStrategy
CreateOpenZFSOriginSnapshotConfiguration.Builder copyStrategy(String copyStrategy)
Specifies the strategy used when copying data from the snapshot to the new volume.
-
CLONE- The new volume references the data in the origin snapshot. Cloning a snapshot is faster than copying data from the snapshot to a new volume and doesn't consume disk throughput. However, the origin snapshot can't be deleted if there is a volume using its copied data. -
FULL_COPY- Copies all data from the snapshot to the new volume.Specify this option to create the volume from a snapshot on another FSx for OpenZFS file system.
The
INCREMENTAL_COPYoption is only for updating an existing volume by using a snapshot from another FSx for OpenZFS file system. For more information, see CopySnapshotAndUpdateVolume.- Parameters:
copyStrategy- Specifies the strategy used when copying data from the snapshot to the new volume.-
CLONE- The new volume references the data in the origin snapshot. Cloning a snapshot is faster than copying data from the snapshot to a new volume and doesn't consume disk throughput. However, the origin snapshot can't be deleted if there is a volume using its copied data. -
FULL_COPY- Copies all data from the snapshot to the new volume.Specify this option to create the volume from a snapshot on another FSx for OpenZFS file system.
The
INCREMENTAL_COPYoption is only for updating an existing volume by using a snapshot from another FSx for OpenZFS file system. For more information, see CopySnapshotAndUpdateVolume.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
OpenZFSCopyStrategy,OpenZFSCopyStrategy
-
-
copyStrategy
CreateOpenZFSOriginSnapshotConfiguration.Builder copyStrategy(OpenZFSCopyStrategy copyStrategy)
Specifies the strategy used when copying data from the snapshot to the new volume.
-
CLONE- The new volume references the data in the origin snapshot. Cloning a snapshot is faster than copying data from the snapshot to a new volume and doesn't consume disk throughput. However, the origin snapshot can't be deleted if there is a volume using its copied data. -
FULL_COPY- Copies all data from the snapshot to the new volume.Specify this option to create the volume from a snapshot on another FSx for OpenZFS file system.
The
INCREMENTAL_COPYoption is only for updating an existing volume by using a snapshot from another FSx for OpenZFS file system. For more information, see CopySnapshotAndUpdateVolume.- Parameters:
copyStrategy- Specifies the strategy used when copying data from the snapshot to the new volume.-
CLONE- The new volume references the data in the origin snapshot. Cloning a snapshot is faster than copying data from the snapshot to a new volume and doesn't consume disk throughput. However, the origin snapshot can't be deleted if there is a volume using its copied data. -
FULL_COPY- Copies all data from the snapshot to the new volume.Specify this option to create the volume from a snapshot on another FSx for OpenZFS file system.
The
INCREMENTAL_COPYoption is only for updating an existing volume by using a snapshot from another FSx for OpenZFS file system. For more information, see CopySnapshotAndUpdateVolume.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
OpenZFSCopyStrategy,OpenZFSCopyStrategy
-
-
-