@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 OpenZFS volume from a snapshot.
Constructor and Description |
---|
CreateOpenZFSOriginSnapshotConfiguration() |
Modifier and Type | Method and Description |
---|---|
CreateOpenZFSOriginSnapshotConfiguration |
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)
Marshalls this structured data using the given
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.
|
CreateOpenZFSOriginSnapshotConfiguration |
withCopyStrategy(OpenZFSCopyStrategy copyStrategy)
The strategy used when copying data from the snapshot to the new volume.
|
CreateOpenZFSOriginSnapshotConfiguration |
withCopyStrategy(String copyStrategy)
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)
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.
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 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.
OpenZFSCopyStrategy
public 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 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.
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.
OpenZFSCopyStrategy
public CreateOpenZFSOriginSnapshotConfiguration 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 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.
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 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.
OpenZFSCopyStrategy
public CreateOpenZFSOriginSnapshotConfiguration 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 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.
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 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.
OpenZFSCopyStrategy
public String toString()
toString
in class Object
Object.toString()
public CreateOpenZFSOriginSnapshotConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.