Class: Aws::FSx::Types::AutocommitPeriod
- Inherits:
-
Struct
- Object
- Struct
- Aws::FSx::Types::AutocommitPeriod
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-fsx/types.rb
Overview
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].
[1]: docs.aws.amazon.com/fsx/latest/ONTAPGuide/worm-state.html#worm-state-autocommit
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#type ⇒ String
Defines the type of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume.
-
#value ⇒ Integer
Defines the amount of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume.
Instance Attribute Details
#type ⇒ String
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 is `NONE`.
557 558 559 560 561 562 |
# File 'lib/aws-sdk-fsx/types.rb', line 557 class AutocommitPeriod < Struct.new( :type, :value) SENSITIVE = [] include Aws::Structure end |
#value ⇒ Integer
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,535
-
‘Hours`: 1 - 65,535
-
‘Days`: 1 - 3,650
-
‘Months`: 1 - 120
-
‘Years`: 1 - 10
557 558 559 560 561 562 |
# File 'lib/aws-sdk-fsx/types.rb', line 557 class AutocommitPeriod < Struct.new( :type, :value) SENSITIVE = [] include Aws::Structure end |