Skip to content

/AWS1/CL_EC2SCHDINSTRECURRENCE

Describes the recurring schedule for a Scheduled Instance.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_frequency TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The frequency (Daily, Weekly, or Monthly).

iv_interval TYPE /AWS1/EC2INTEGER /AWS1/EC2INTEGER

The interval quantity. The interval unit depends on the value of frequency. For example, every 2 weeks or every 2 months.

it_occurrencedayset TYPE /AWS1/CL_EC2OCCURRENCEDAYSET_W=>TT_OCCURRENCEDAYSET TT_OCCURRENCEDAYSET

The days. For a monthly schedule, this is one or more days of the month (1-31). For a weekly schedule, this is one or more days of the week (1-7, where 1 is Sunday).

iv_occurrencerelativetoend TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

Indicates whether the occurrence is relative to the end of the specified week or month.

iv_occurrenceunit TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The unit for occurrenceDaySet (DayOfWeek or DayOfMonth).


Queryable Attributes

Frequency

The frequency (Daily, Weekly, or Monthly).

Accessible with the following methods

Method Description
GET_FREQUENCY() Getter for FREQUENCY, with configurable default
ASK_FREQUENCY() Getter for FREQUENCY w/ exceptions if field has no value
HAS_FREQUENCY() Determine if FREQUENCY has a value

Interval

The interval quantity. The interval unit depends on the value of frequency. For example, every 2 weeks or every 2 months.

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

OccurrenceDaySet

The days. For a monthly schedule, this is one or more days of the month (1-31). For a weekly schedule, this is one or more days of the week (1-7, where 1 is Sunday).

Accessible with the following methods

Method Description
GET_OCCURRENCEDAYSET() Getter for OCCURRENCEDAYSET, with configurable default
ASK_OCCURRENCEDAYSET() Getter for OCCURRENCEDAYSET w/ exceptions if field has no va
HAS_OCCURRENCEDAYSET() Determine if OCCURRENCEDAYSET has a value

OccurrenceRelativeToEnd

Indicates whether the occurrence is relative to the end of the specified week or month.

Accessible with the following methods

Method Description
GET_OCCURRENCERELATIVETOEND() Getter for OCCURRENCERELATIVETOEND, with configurable defaul
ASK_OCCURRENCERELATIVETOEND() Getter for OCCURRENCERELATIVETOEND w/ exceptions if field ha
HAS_OCCURRENCERELATIVETOEND() Determine if OCCURRENCERELATIVETOEND has a value

OccurrenceUnit

The unit for occurrenceDaySet (DayOfWeek or DayOfMonth).

Accessible with the following methods

Method Description
GET_OCCURRENCEUNIT() Getter for OCCURRENCEUNIT, with configurable default
ASK_OCCURRENCEUNIT() Getter for OCCURRENCEUNIT w/ exceptions if field has no valu
HAS_OCCURRENCEUNIT() Determine if OCCURRENCEUNIT has a value