Skip to content

/AWS1/CL_EC2INSTSTATECHANGE

Describes an instance state change.

CONSTRUCTOR

IMPORTING

Optional arguments:

IV_INSTANCEID TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The ID of the instance.

IO_CURRENTSTATE TYPE REF TO /AWS1/CL_EC2INSTANCESTATE /AWS1/CL_EC2INSTANCESTATE

The current state of the instance.

IO_PREVIOUSSTATE TYPE REF TO /AWS1/CL_EC2INSTANCESTATE /AWS1/CL_EC2INSTANCESTATE

The previous state of the instance.


Queryable Attributes

InstanceId

The ID of the instance.

Accessible with the following methods

Method Description
GET_INSTANCEID() Getter for INSTANCEID, with configurable default
ASK_INSTANCEID() Getter for INSTANCEID w/ exceptions if field has no value
HAS_INSTANCEID() Determine if INSTANCEID has a value

CurrentState

The current state of the instance.

Accessible with the following methods

Method Description
GET_CURRENTSTATE() Getter for CURRENTSTATE

PreviousState

The previous state of the instance.

Accessible with the following methods

Method Description
GET_PREVIOUSSTATE() Getter for PREVIOUSSTATE

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_INSTANCESTATECHANGELIST

TYPES TT_INSTANCESTATECHANGELIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_EC2INSTSTATECHANGE WITH DEFAULT KEY
.