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`.
536 537 538 539 540 541 |
# File 'lib/aws-sdk-fsx/types.rb', line 536 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
536 537 538 539 540 541 |
# File 'lib/aws-sdk-fsx/types.rb', line 536 class AutocommitPeriod < Struct.new( :type, :value) SENSITIVE = [] include Aws::Structure end |