Interface CfnSnapshotProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSnapshotProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:10:06.546Z")
@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();
- See Also:
-
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()A list ofTagvalues, with a maximum of 50 elements.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.- See Also:
-
getVolumeId
The ID of the volume that the snapshot is of.- See Also:
-
getTags
A list ofTagvalues, with a maximum of 50 elements.- See Also:
-
builder
- Returns:
- a
CfnSnapshotProps.BuilderofCfnSnapshotProps
-