Interface CfnVolume.SnaplockRetentionPeriodProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnVolume.SnaplockRetentionPeriodProperty.Jsii$Proxy
Enclosing class:
CfnVolume

@Stability(Stable) public static interface CfnVolume.SnaplockRetentionPeriodProperty extends software.amazon.jsii.JsiiSerializable
The configuration to set the retention period of an FSx for ONTAP SnapLock volume.

The retention period includes default, maximum, and minimum settings. For more information, see Working with the retention period in SnapLock .

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.*;
 SnaplockRetentionPeriodProperty snaplockRetentionPeriodProperty = SnaplockRetentionPeriodProperty.builder()
         .defaultRetention(RetentionPeriodProperty.builder()
                 .type("type")
                 // the properties below are optional
                 .value(123)
                 .build())
         .maximumRetention(RetentionPeriodProperty.builder()
                 .type("type")
                 // the properties below are optional
                 .value(123)
                 .build())
         .minimumRetention(RetentionPeriodProperty.builder()
                 .type("type")
                 // the properties below are optional
                 .value(123)
                 .build())
         .build();
 

See Also: