@Generated(value="software.amazon.awssdk:codegen") public final class OpenZFSOriginSnapshotConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<OpenZFSOriginSnapshotConfiguration.Builder,OpenZFSOriginSnapshotConfiguration>
The snapshot configuration to use when creating an OpenZFS volume from a snapshot.
| Modifier and Type | Class and Description |
|---|---|
static interface |
OpenZFSOriginSnapshotConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static OpenZFSOriginSnapshotConfiguration.Builder |
builder() |
OpenZFSCopyStrategy |
copyStrategy()
The strategy used when copying data from the snapshot to the new volume.
|
String |
copyStrategyAsString()
The strategy used when copying data from the snapshot to the new volume.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends OpenZFSOriginSnapshotConfiguration.Builder> |
serializableBuilderClass() |
String |
snapshotARN()
Returns the value of the SnapshotARN property for this object.
|
OpenZFSOriginSnapshotConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String snapshotARN()
public final 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.
If the service returns an enum value that is not available in the current SDK version, copyStrategy will
return OpenZFSCopyStrategy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from copyStrategyAsString().
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 final String copyStrategyAsString()
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.
If the service returns an enum value that is not available in the current SDK version, copyStrategy will
return OpenZFSCopyStrategy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from copyStrategyAsString().
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.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<OpenZFSOriginSnapshotConfiguration.Builder,OpenZFSOriginSnapshotConfiguration>public static OpenZFSOriginSnapshotConfiguration.Builder builder()
public static Class<? extends OpenZFSOriginSnapshotConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.