Skip to content

/AWS1/CL_EC2SPOTINSTSTATEFAULT

Describes a Spot Instance state change.

CONSTRUCTOR

IMPORTING

Optional arguments:

IV_CODE TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The reason code for the Spot Instance state change.

IV_MESSAGE TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The message for the Spot Instance state change.


Queryable Attributes

Code

The reason code for the Spot Instance state change.

Accessible with the following methods

Method Description
GET_CODE() Getter for CODE, with configurable default
ASK_CODE() Getter for CODE w/ exceptions if field has no value
HAS_CODE() Determine if CODE has a value

Message

The message for the Spot Instance state change.

Accessible with the following methods

Method Description
GET_MESSAGE() Getter for MESSAGE, with configurable default
ASK_MESSAGE() Getter for MESSAGE w/ exceptions if field has no value
HAS_MESSAGE() Determine if MESSAGE has a value