Skip to content

/AWS1/CL_CWTALARMCONTRIBUTOR

Represents an individual contributor to a multi-timeseries alarm, containing information about a specific time series and its contribution to the alarm's state.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_contributorid TYPE /AWS1/CWTCONTRIBUTORID /AWS1/CWTCONTRIBUTORID

The unique identifier for this alarm contributor.

it_contributorattributes TYPE /AWS1/CL_CWTCONTRIBATTRS_W=>TT_CONTRIBUTORATTRIBUTES TT_CONTRIBUTORATTRIBUTES

A map of attributes that describe the contributor, such as metric dimensions and other identifying characteristics.

iv_statereason TYPE /AWS1/CWTSTATEREASON /AWS1/CWTSTATEREASON

An explanation for the contributor's current state, providing context about why it is in its current condition.

Optional arguments:

iv_statetransedtimestamp TYPE /AWS1/CWTTIMESTAMP /AWS1/CWTTIMESTAMP

The timestamp when the contributor last transitioned to its current state.


Queryable Attributes

ContributorId

The unique identifier for this alarm contributor.

Accessible with the following methods

Method Description
GET_CONTRIBUTORID() Getter for CONTRIBUTORID, with configurable default
ASK_CONTRIBUTORID() Getter for CONTRIBUTORID w/ exceptions if field has no value
HAS_CONTRIBUTORID() Determine if CONTRIBUTORID has a value

ContributorAttributes

A map of attributes that describe the contributor, such as metric dimensions and other identifying characteristics.

Accessible with the following methods

Method Description
GET_CONTRIBUTORATTRIBUTES() Getter for CONTRIBUTORATTRIBUTES, with configurable default
ASK_CONTRIBUTORATTRIBUTES() Getter for CONTRIBUTORATTRIBUTES w/ exceptions if field has
HAS_CONTRIBUTORATTRIBUTES() Determine if CONTRIBUTORATTRIBUTES has a value

StateReason

An explanation for the contributor's current state, providing context about why it is in its current condition.

Accessible with the following methods

Method Description
GET_STATEREASON() Getter for STATEREASON, with configurable default
ASK_STATEREASON() Getter for STATEREASON w/ exceptions if field has no value
HAS_STATEREASON() Determine if STATEREASON has a value

StateTransitionedTimestamp

The timestamp when the contributor last transitioned to its current state.

Accessible with the following methods

Method Description
GET_STATETRANSEDTIMESTAMP() Getter for STATETRANSITIONEDTIMESTAMP, with configurable def
ASK_STATETRANSEDTIMESTAMP() Getter for STATETRANSITIONEDTIMESTAMP w/ exceptions if field
HAS_STATETRANSEDTIMESTAMP() Determine if STATETRANSITIONEDTIMESTAMP 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_ALARMCONTRIBUTORS

TYPES TT_ALARMCONTRIBUTORS TYPE STANDARD TABLE OF REF TO /AWS1/CL_CWTALARMCONTRIBUTOR WITH DEFAULT KEY
.