@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateOpenZFSOriginSnapshotConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The snapshot configuration to use when creating an Amazon FSx for OpenZFS volume from a snapshot.
| Constructor and Description |
|---|
CreateOpenZFSOriginSnapshotConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
CreateOpenZFSOriginSnapshotConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getCopyStrategy()
Specifies the strategy used when copying data from the snapshot to the new volume.
|
String |
getSnapshotARN() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCopyStrategy(String copyStrategy)
Specifies the strategy used when copying data from the snapshot to the new volume.
|
void |
setSnapshotARN(String snapshotARN) |
String |
toString()
Returns a string representation of this object.
|
CreateOpenZFSOriginSnapshotConfiguration |
withCopyStrategy(OpenZFSCopyStrategy copyStrategy)
Specifies the strategy used when copying data from the snapshot to the new volume.
|
CreateOpenZFSOriginSnapshotConfiguration |
withCopyStrategy(String copyStrategy)
Specifies the strategy used when copying data from the snapshot to the new volume.
|
CreateOpenZFSOriginSnapshotConfiguration |
withSnapshotARN(String snapshotARN) |
public CreateOpenZFSOriginSnapshotConfiguration()
public void setSnapshotARN(String snapshotARN)
snapshotARN - public String getSnapshotARN()
public CreateOpenZFSOriginSnapshotConfiguration withSnapshotARN(String snapshotARN)
snapshotARN - public void setCopyStrategy(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_COPY option is only for updating an existing volume by using a snapshot from another
FSx for OpenZFS file system. For more information, see CopySnapshotAndUpdateVolume.
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_COPY option is only for updating an existing volume by using a snapshot from
another FSx for OpenZFS file system. For more information, see CopySnapshotAndUpdateVolume.
OpenZFSCopyStrategypublic String getCopyStrategy()
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_COPY option is only for updating an existing volume by using a snapshot from another
FSx for OpenZFS file system. For more information, see CopySnapshotAndUpdateVolume.
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_COPY option is only for updating an existing volume by using a snapshot from
another FSx for OpenZFS file system. For more information, see CopySnapshotAndUpdateVolume.
OpenZFSCopyStrategypublic CreateOpenZFSOriginSnapshotConfiguration withCopyStrategy(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_COPY option is only for updating an existing volume by using a snapshot from another
FSx for OpenZFS file system. For more information, see CopySnapshotAndUpdateVolume.
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_COPY option is only for updating an existing volume by using a snapshot from
another FSx for OpenZFS file system. For more information, see CopySnapshotAndUpdateVolume.
OpenZFSCopyStrategypublic CreateOpenZFSOriginSnapshotConfiguration withCopyStrategy(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_COPY option is only for updating an existing volume by using a snapshot from another
FSx for OpenZFS file system. For more information, see CopySnapshotAndUpdateVolume.
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_COPY option is only for updating an existing volume by using a snapshot from
another FSx for OpenZFS file system. For more information, see CopySnapshotAndUpdateVolume.
OpenZFSCopyStrategypublic String toString()
toString in class ObjectObject.toString()public CreateOpenZFSOriginSnapshotConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.