Class: Aws::RecycleBin::Types::RetentionPeriod

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#retention_period_unitString

The unit of time in which the retention period is measured. Currently, only ‘DAYS` is supported.

Returns:

  • (String)


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_valueInteger

The period value for which the retention rule is to retain resources. The period is measured using the unit specified for RetentionPeriodUnit.

Returns:

  • (Integer)


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