Class CreateOpenZFSOriginSnapshotConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.fsx.model.CreateOpenZFSOriginSnapshotConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CreateOpenZFSOriginSnapshotConfiguration.Builder,CreateOpenZFSOriginSnapshotConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class CreateOpenZFSOriginSnapshotConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CreateOpenZFSOriginSnapshotConfiguration.Builder,CreateOpenZFSOriginSnapshotConfiguration>
The snapshot configuration to use when creating an Amazon FSx for OpenZFS volume from a snapshot.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateOpenZFSOriginSnapshotConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateOpenZFSOriginSnapshotConfiguration.Builderbuilder()OpenZFSCopyStrategycopyStrategy()Specifies the strategy used when copying data from the snapshot to the new volume.StringcopyStrategyAsString()Specifies the strategy used when copying data from the snapshot to the new volume.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends CreateOpenZFSOriginSnapshotConfiguration.Builder>serializableBuilderClass()StringsnapshotARN()Returns the value of the SnapshotARN property for this object.CreateOpenZFSOriginSnapshotConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
snapshotARN
public final String snapshotARN()
Returns the value of the SnapshotARN property for this object.- Returns:
- The value of the SnapshotARN property for this object.
-
copyStrategy
public final 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.If the service returns an enum value that is not available in the current SDK version,
copyStrategywill returnOpenZFSCopyStrategy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcopyStrategyAsString().- Returns:
- 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. -
- See Also:
OpenZFSCopyStrategy
-
-
copyStrategyAsString
public final String copyStrategyAsString()
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.If the service returns an enum value that is not available in the current SDK version,
copyStrategywill returnOpenZFSCopyStrategy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcopyStrategyAsString().- Returns:
- 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. -
- See Also:
OpenZFSCopyStrategy
-
-
toBuilder
public CreateOpenZFSOriginSnapshotConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateOpenZFSOriginSnapshotConfiguration.Builder,CreateOpenZFSOriginSnapshotConfiguration>
-
builder
public static CreateOpenZFSOriginSnapshotConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateOpenZFSOriginSnapshotConfiguration.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-