Class: Aws::RecycleBin::Types::RetentionPeriod
- Inherits:
-
Struct
- Object
- Struct
- Aws::RecycleBin::Types::RetentionPeriod
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-recyclebin/types.rb
Overview
Information about the retention period for which the retention rule is to retain resources.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#retention_period_unit ⇒ String
The unit of time in which the retention period is measured.
-
#retention_period_value ⇒ Integer
The period value for which the retention rule is to retain resources.
Instance Attribute Details
#retention_period_unit ⇒ String
The unit of time in which the retention period is measured. Currently, only ‘DAYS` is supported.
522 523 524 525 526 527 |
# File 'lib/aws-sdk-recyclebin/types.rb', line 522 class RetentionPeriod < Struct.new( :retention_period_value, :retention_period_unit) SENSITIVE = [] include Aws::Structure end |
#retention_period_value ⇒ Integer
The period value for which the retention rule is to retain resources. The period is measured using the unit specified for RetentionPeriodUnit.
522 523 524 525 526 527 |
# File 'lib/aws-sdk-recyclebin/types.rb', line 522 class RetentionPeriod < Struct.new( :retention_period_value, :retention_period_unit) SENSITIVE = [] include Aws::Structure end |