@Stability(value=Stable) public static final class CfnVolume.OriginSnapshotProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnVolume.OriginSnapshotProperty>
CfnVolume.OriginSnapshotProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnVolume.OriginSnapshotProperty |
build()
Builds the configured instance.
|
CfnVolume.OriginSnapshotProperty.Builder |
copyStrategy(String copyStrategy)
Sets the value of
CfnVolume.OriginSnapshotProperty.getCopyStrategy() |
CfnVolume.OriginSnapshotProperty.Builder |
snapshotArn(String snapshotArn)
Sets the value of
CfnVolume.OriginSnapshotProperty.getSnapshotArn() |
@Stability(value=Stable) public CfnVolume.OriginSnapshotProperty.Builder copyStrategy(String copyStrategy)
CfnVolume.OriginSnapshotProperty.getCopyStrategy()copyStrategy - The strategy used when copying data from the snapshot to the new volume. This parameter is required.
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.this@Stability(value=Stable) public CfnVolume.OriginSnapshotProperty.Builder snapshotArn(String snapshotArn)
CfnVolume.OriginSnapshotProperty.getSnapshotArn()snapshotArn - Specifies the snapshot to use when creating an OpenZFS volume from a snapshot. This parameter is required.this@Stability(value=Stable) public CfnVolume.OriginSnapshotProperty build()
build in interface software.amazon.jsii.Builder<CfnVolume.OriginSnapshotProperty>CfnVolume.OriginSnapshotPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.