Class: Aws::Drs::Types::PITPolicyRule

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

Instance Attribute Details

#enabledBoolean

Whether this rule is enabled or not.

Returns:

  • (Boolean)


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

#intervalInteger

How often, in the chosen units, a snapshot should be taken.

Returns:

  • (Integer)


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_durationInteger

The duration to retain a snapshot for, in the chosen units.

Returns:

  • (Integer)


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_idInteger

The ID of the rule.

Returns:

  • (Integer)


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

#unitsString

The units used to measure the interval and retentionDuration.

Returns:

  • (String)


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