/AWS1/CL_DRSPITPOLICYRULE¶
A rule in the Point in Time (PIT) policy representing when to take snapshots and how long to retain them for.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_units TYPE /AWS1/DRSPITPOLICYRULEUNITS /AWS1/DRSPITPOLICYRULEUNITS¶
The units used to measure the interval and retentionDuration.
iv_interval TYPE /AWS1/DRSSTRICTLYPOSINTEGER /AWS1/DRSSTRICTLYPOSINTEGER¶
How often, in the chosen units, a snapshot should be taken.
iv_retentionduration TYPE /AWS1/DRSSTRICTLYPOSINTEGER /AWS1/DRSSTRICTLYPOSINTEGER¶
The duration to retain a snapshot for, in the chosen units.
Optional arguments:¶
iv_ruleid TYPE /AWS1/DRSPOSITIVEINTEGER /AWS1/DRSPOSITIVEINTEGER¶
The ID of the rule.
iv_enabled TYPE /AWS1/DRSBOOLEAN /AWS1/DRSBOOLEAN¶
Whether this rule is enabled or not.
Queryable Attributes¶
ruleID¶
The ID of the rule.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_RULEID() |
Getter for RULEID |
units¶
The units used to measure the interval and retentionDuration.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_UNITS() |
Getter for UNITS, with configurable default |
ASK_UNITS() |
Getter for UNITS w/ exceptions if field has no value |
HAS_UNITS() |
Determine if UNITS has a value |
interval¶
How often, in the chosen units, a snapshot should be taken.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_INTERVAL() |
Getter for INTERVAL, with configurable default |
ASK_INTERVAL() |
Getter for INTERVAL w/ exceptions if field has no value |
HAS_INTERVAL() |
Determine if INTERVAL has a value |
retentionDuration¶
The duration to retain a snapshot for, in the chosen units.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_RETENTIONDURATION() |
Getter for RETENTIONDURATION, with configurable default |
ASK_RETENTIONDURATION() |
Getter for RETENTIONDURATION w/ exceptions if field has no v |
HAS_RETENTIONDURATION() |
Determine if RETENTIONDURATION has a value |
enabled¶
Whether this rule is enabled or not.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ENABLED() |
Getter for ENABLED, with configurable default |
ASK_ENABLED() |
Getter for ENABLED w/ exceptions if field has no value |
HAS_ENABLED() |
Determine if ENABLED has a value |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_PITPOLICY¶
TYPES TT_PITPOLICY TYPE STANDARD TABLE OF REF TO /AWS1/CL_DRSPITPOLICYRULE WITH DEFAULT KEY
.