@Stability(value=Stable)
public static interface CfnVolume.OriginSnapshotProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.fsx.*;
OriginSnapshotProperty originSnapshotProperty = OriginSnapshotProperty.builder()
.copyStrategy("copyStrategy")
.snapshotArn("snapshotArn")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnVolume.OriginSnapshotProperty.Builder
A builder for
CfnVolume.OriginSnapshotProperty |
static class |
CfnVolume.OriginSnapshotProperty.Jsii$Proxy
An implementation for
CfnVolume.OriginSnapshotProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnVolume.OriginSnapshotProperty.Builder |
builder() |
String |
getCopyStrategy()
The strategy used when copying data from the snapshot to the new volume.
|
String |
getSnapshotArn()
Specifies the snapshot to use when creating an OpenZFS volume from a snapshot.
|
@Stability(value=Stable) @NotNull String getCopyStrategy()
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.@Stability(value=Stable) @NotNull String getSnapshotArn()
@Stability(value=Stable) static CfnVolume.OriginSnapshotProperty.Builder builder()
Copyright © 2022. All rights reserved.