Skip to content

/AWS1/CL_TSIDBBACKUPCONF

Specifies the configuration for an automated backup schedule.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_type TYPE /AWS1/TSIAUTOMATEDDBBACKUPTYPE /AWS1/TSIAUTOMATEDDBBACKUPTYPE

The type of automated backup schedule. Valid values are HOURLY, DAILY, WEEKLY, MONTHLY, CUSTOM_SCHEDULE, and CONTINUOUS.

iv_retentiondays TYPE /AWS1/TSIAUTOMTDBACKUPRETDAYS /AWS1/TSIAUTOMTDBACKUPRETDAYS

The number of days to retain automated backups. Valid values are 1 to 365.

iv_enabled TYPE /AWS1/TSIBOOLEAN /AWS1/TSIBOOLEAN

Specifies whether this backup configuration is enabled.

Optional arguments:

iv_customschedule TYPE /AWS1/TSIAWSCRONSCHEDULE /AWS1/TSIAWSCRONSCHEDULE

A custom cron schedule expression for the backup. Required when type is CUSTOM_SCHEDULE.


Queryable Attributes

type

The type of automated backup schedule. Valid values are HOURLY, DAILY, WEEKLY, MONTHLY, CUSTOM_SCHEDULE, and CONTINUOUS.

Accessible with the following methods

Method Description
GET_TYPE() Getter for TYPE, with configurable default
ASK_TYPE() Getter for TYPE w/ exceptions if field has no value
HAS_TYPE() Determine if TYPE has a value

retentionDays

The number of days to retain automated backups. Valid values are 1 to 365.

Accessible with the following methods

Method Description
GET_RETENTIONDAYS() Getter for RETENTIONDAYS, with configurable default
ASK_RETENTIONDAYS() Getter for RETENTIONDAYS w/ exceptions if field has no value
HAS_RETENTIONDAYS() Determine if RETENTIONDAYS has a value

enabled

Specifies whether this backup configuration is enabled.

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

customSchedule

A custom cron schedule expression for the backup. Required when type is CUSTOM_SCHEDULE.

Accessible with the following methods

Method Description
GET_CUSTOMSCHEDULE() Getter for CUSTOMSCHEDULE, with configurable default
ASK_CUSTOMSCHEDULE() Getter for CUSTOMSCHEDULE w/ exceptions if field has no valu
HAS_CUSTOMSCHEDULE() Determine if CUSTOMSCHEDULE 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_DBBACKUPCONFINPUTLIST

TYPES TT_DBBACKUPCONFINPUTLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_TSIDBBACKUPCONF WITH DEFAULT KEY
.