Class: Aws::FSx::Types::AutocommitPeriod

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-fsx/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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#typeString

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.

Returns:

  • (String)


556
557
558
559
560
561
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/types.rb', line 556

class AutocommitPeriod < Struct.new(
  :type,
  :value)
  SENSITIVE = []
  include Aws::Structure
end

#valueInteger

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

Returns:

  • (Integer)


556
557
558
559
560
561
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/types.rb', line 556

class AutocommitPeriod < Struct.new(
  :type,
  :value)
  SENSITIVE = []
  include Aws::Structure
end