Interface CfnSnapshotProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSnapshotProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)",
date="2024-08-23T05:56:17.273Z")
@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 class
A builder forCfnSnapshotProps
static final class
An implementation forCfnSnapshotProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnSnapshotProps.Builder
builder()
getName()
The name of the snapshot.getTags()
A list ofTag
values, 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 ofTag
values, with a maximum of 50 elements.- See Also:
-
builder
- Returns:
- a
CfnSnapshotProps.Builder
ofCfnSnapshotProps
-