Class: Aws::FSx::Types::RetentionPeriod
- Inherits:
-
Struct
- Object
- Struct
- Aws::FSx::Types::RetentionPeriod
- Defined in:
- gems/aws-sdk-fsx/lib/aws-sdk-fsx/types.rb
Overview
Specifies the retention period of an FSx for ONTAP SnapLock volume. After it is set, it can't be changed. Files can't be deleted or modified during the retention period.
For more information, see Working with the retention period in SnapLock.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#type ⇒ String
Defines the type of time for the retention period of an FSx for ONTAP SnapLock volume.
-
#value ⇒ Integer
Defines the amount of time for the retention period of an FSx for ONTAP SnapLock volume.
Instance Attribute Details
#type ⇒ String
Defines the type of time for the retention period of an FSx for
ONTAP SnapLock volume. Set it to one of the valid types. If you set
it to INFINITE, the files are retained forever. If you set it to
UNSPECIFIED, the files are retained until you set an explicit
retention period.
8411 8412 8413 8414 8415 8416 |
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/types.rb', line 8411 class RetentionPeriod < Struct.new( :type, :value) SENSITIVE = [] include Aws::Structure end |
#value ⇒ Integer
Defines the amount of time for the retention period of an FSx for
ONTAP SnapLock volume. You can't set a value for INFINITE or
UNSPECIFIED. For all other options, the following ranges are
valid:
Seconds: 0 - 65,535Minutes: 0 - 65,535Hours: 0 - 24Days: 0 - 365Months: 0 - 12Years: 0 - 100
8411 8412 8413 8414 8415 8416 |
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/types.rb', line 8411 class RetentionPeriod < Struct.new( :type, :value) SENSITIVE = [] include Aws::Structure end |