Interface CfnSnapshotProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSnapshotProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:40.237Z")
@Stability(Stable)
public interface CfnSnapshotProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnSnapshot.
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.*;
CfnSnapshotProps cfnSnapshotProps = CfnSnapshotProps.builder()
.name("name")
.volumeId("volumeId")
// the properties below are optional
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnSnapshotPropsstatic final classAn implementation forCfnSnapshotProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnSnapshotProps.Builderbuilder()getName()The name of the snapshot.getTags()An array of key-value pairs to apply to this resource.The ID of the volume that the snapshot is of.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The name of the snapshot. -
getVolumeId
The ID of the volume that the snapshot is of. -
getTags
An array of key-value pairs to apply to this resource.For more information, see Tag .
-
builder
- Returns:
- a
CfnSnapshotProps.BuilderofCfnSnapshotProps
-