Class: Aws::Drs::Types::PITPolicyRule
- Inherits:
-
Struct
- Object
- Struct
- Aws::Drs::Types::PITPolicyRule
- Defined in:
- gems/aws-sdk-drs/lib/aws-sdk-drs/types.rb
Overview
A rule in the Point in Time (PIT) policy representing when to take snapshots and how long to retain them for.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#enabled ⇒ Boolean
Whether this rule is enabled or not.
-
#interval ⇒ Integer
How often, in the chosen units, a snapshot should be taken.
-
#retention_duration ⇒ Integer
The duration to retain a snapshot for, in the chosen units.
-
#rule_id ⇒ Integer
The ID of the rule.
-
#units ⇒ String
The units used to measure the interval and retentionDuration.
Instance Attribute Details
#enabled ⇒ Boolean
Whether this rule is enabled or not.
2029 2030 2031 2032 2033 2034 2035 2036 2037 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/types.rb', line 2029 class PITPolicyRule < Struct.new( :enabled, :interval, :retention_duration, :rule_id, :units) SENSITIVE = [] include Aws::Structure end |
#interval ⇒ Integer
How often, in the chosen units, a snapshot should be taken.
2029 2030 2031 2032 2033 2034 2035 2036 2037 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/types.rb', line 2029 class PITPolicyRule < Struct.new( :enabled, :interval, :retention_duration, :rule_id, :units) SENSITIVE = [] include Aws::Structure end |
#retention_duration ⇒ Integer
The duration to retain a snapshot for, in the chosen units.
2029 2030 2031 2032 2033 2034 2035 2036 2037 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/types.rb', line 2029 class PITPolicyRule < Struct.new( :enabled, :interval, :retention_duration, :rule_id, :units) SENSITIVE = [] include Aws::Structure end |
#rule_id ⇒ Integer
The ID of the rule.
2029 2030 2031 2032 2033 2034 2035 2036 2037 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/types.rb', line 2029 class PITPolicyRule < Struct.new( :enabled, :interval, :retention_duration, :rule_id, :units) SENSITIVE = [] include Aws::Structure end |
#units ⇒ String
The units used to measure the interval and retentionDuration.
2029 2030 2031 2032 2033 2034 2035 2036 2037 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/types.rb', line 2029 class PITPolicyRule < Struct.new( :enabled, :interval, :retention_duration, :rule_id, :units) SENSITIVE = [] include Aws::Structure end |