@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OpenZFSOriginSnapshotConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The snapshot configuration to use when creating an OpenZFS volume from a snapshot.
| Constructor and Description |
|---|
OpenZFSOriginSnapshotConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
OpenZFSOriginSnapshotConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getCopyStrategy()
The strategy used when copying data from the snapshot to the new volume.
|
String |
getSnapshotARN() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setCopyStrategy(String copyStrategy)
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.
|
OpenZFSOriginSnapshotConfiguration |
withCopyStrategy(OpenZFSCopyStrategy copyStrategy)
The strategy used when copying data from the snapshot to the new volume.
|
OpenZFSOriginSnapshotConfiguration |
withCopyStrategy(String copyStrategy)
The strategy used when copying data from the snapshot to the new volume.
|
OpenZFSOriginSnapshotConfiguration |
withSnapshotARN(String snapshotARN) |
public void setSnapshotARN(String snapshotARN)
snapshotARN - public String getSnapshotARN()
public OpenZFSOriginSnapshotConfiguration withSnapshotARN(String snapshotARN)
snapshotARN - public void setCopyStrategy(String copyStrategy)
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 the data from a 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.
copyStrategy - 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 the data from a 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.
OpenZFSCopyStrategypublic String getCopyStrategy()
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 the data from a 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.
CLONE - The new volume references the data in the origin snapshot. Cloning a snapshot is
faster than copying the data from a 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.
OpenZFSCopyStrategypublic OpenZFSOriginSnapshotConfiguration withCopyStrategy(String copyStrategy)
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 the data from a 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.
copyStrategy - 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 the data from a 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.
OpenZFSCopyStrategypublic OpenZFSOriginSnapshotConfiguration withCopyStrategy(OpenZFSCopyStrategy copyStrategy)
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 the data from a 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.
copyStrategy - 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 the data from a 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.
OpenZFSCopyStrategypublic String toString()
toString in class ObjectObject.toString()public OpenZFSOriginSnapshotConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.