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();
 
  • Method Details

    • getName

      @Stability(Stable) @NotNull String getName()
      The name of the snapshot.
    • getVolumeId

      @Stability(Stable) @NotNull String getVolumeId()
      The ID of the volume that the snapshot is of.
    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      An array of key-value pairs to apply to this resource.

      For more information, see Tag .

    • builder

      @Stability(Stable) static CfnSnapshotProps.Builder builder()
      Returns:
      a CfnSnapshotProps.Builder of CfnSnapshotProps