/AWS1/CL_EC2PRICESCHEDULESPEC¶
Describes the price for a Reserved Instance.
CONSTRUCTOR
¶
IMPORTING¶
Optional arguments:¶
iv_term
TYPE /AWS1/EC2LONG
/AWS1/EC2LONG
¶
The number of months remaining in the reservation. For example, 2 is the second to the last month before the capacity reservation expires.
iv_price
TYPE /AWS1/RT_DOUBLE_AS_STRING
/AWS1/RT_DOUBLE_AS_STRING
¶
The fixed price for the term.
iv_currencycode
TYPE /AWS1/EC2CURRENCYCODEVALUES
/AWS1/EC2CURRENCYCODEVALUES
¶
The currency for transacting the Reserved Instance resale. At this time, the only supported currency is
USD
.
Queryable Attributes¶
Term¶
The number of months remaining in the reservation. For example, 2 is the second to the last month before the capacity reservation expires.
Accessible with the following methods¶
Method | Description |
---|---|
GET_TERM() |
Getter for TERM, with configurable default |
ASK_TERM() |
Getter for TERM w/ exceptions if field has no value |
HAS_TERM() |
Determine if TERM has a value |
Price¶
The fixed price for the term.
Accessible with the following methods¶
Method | Description |
---|---|
GET_PRICE() |
Getter for PRICE, with configurable default |
ASK_PRICE() |
Getter for PRICE w/ exceptions if field has no value |
STR_PRICE() |
String format for PRICE, with configurable default |
HAS_PRICE() |
Determine if PRICE has a value |
CurrencyCode¶
The currency for transacting the Reserved Instance resale. At this time, the only supported currency is
USD
.
Accessible with the following methods¶
Method | Description |
---|---|
GET_CURRENCYCODE() |
Getter for CURRENCYCODE, with configurable default |
ASK_CURRENCYCODE() |
Getter for CURRENCYCODE w/ exceptions if field has no value |
HAS_CURRENCYCODE() |
Determine if CURRENCYCODE 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_PRICESCHEDULESPECLIST
¶
TYPES TT_PRICESCHEDULESPECLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_EC2PRICESCHEDULESPEC WITH DEFAULT KEY
.