Interface CfnVolume.AutocommitPeriodProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnVolume.AutocommitPeriodProperty.Jsii$Proxy
- Enclosing class:
CfnVolume
@Stability(Stable)
public static interface CfnVolume.AutocommitPeriodProperty
extends software.amazon.jsii.JsiiSerializable
Sets the autocommit period of files in an FSx for ONTAP SnapLock volume, which determines how long the files must remain unmodified before they're automatically transitioned to the write once, read many (WORM) state.
For more information, see Autocommit .
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.*; AutocommitPeriodProperty autocommitPeriodProperty = AutocommitPeriodProperty.builder() .type("type") // the properties below are optional .value(123) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnVolume.AutocommitPeriodProperty
static final class
An implementation forCfnVolume.AutocommitPeriodProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getType
Defines the type of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume.Setting this value to
NONE
disables autocommit. The default value isNONE
.- See Also:
-
getValue
Defines the amount of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume.The following ranges are valid:
Minutes
: 5 - 65,535Hours
: 1 - 65,535Days
: 1 - 3,650Months
: 1 - 120Years
: 1 - 10
- See Also:
-
builder
-