Class: Aws::FSx::Types::SnapshotPolicyRetentionPeriod

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-fsx/lib/aws-sdk-fsx/types.rb

Overview

The length of time that snapshots created by this schedule are locked. This setting applies only to volumes that have snapshot locking enabled.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#type ⇒ String

The unit of time for the retention period. If you set it to INFINITE, the snapshots are retained forever.

Returns:

  • (String)


11141
11142
11143
11144
11145
11146
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/types.rb', line 11141

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

#value ⇒ Integer

Defines the amount of time for the retention period. You can't set a value for INFINITE.

Returns:

  • (Integer)


11141
11142
11143
11144
11145
11146
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/types.rb', line 11141

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