Skip to content

/AWS1/CL_EC2RESERVATIONVALUE

The cost associated with the Reserved Instance.

CONSTRUCTOR

IMPORTING

Optional arguments:

IV_HOURLYPRICE TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The hourly rate of the reservation.

IV_REMAININGTOTALVALUE TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The balance of the total value (the sum of remainingUpfrontValue + hourlyPrice * number of hours remaining).

IV_REMAININGUPFRONTVALUE TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The remaining upfront cost of the reservation.


Queryable Attributes

HourlyPrice

The hourly rate of the reservation.

Accessible with the following methods

Method Description
GET_HOURLYPRICE() Getter for HOURLYPRICE, with configurable default
ASK_HOURLYPRICE() Getter for HOURLYPRICE w/ exceptions if field has no value
HAS_HOURLYPRICE() Determine if HOURLYPRICE has a value

RemainingTotalValue

The balance of the total value (the sum of remainingUpfrontValue + hourlyPrice * number of hours remaining).

Accessible with the following methods

Method Description
GET_REMAININGTOTALVALUE() Getter for REMAININGTOTALVALUE, with configurable default
ASK_REMAININGTOTALVALUE() Getter for REMAININGTOTALVALUE w/ exceptions if field has no
HAS_REMAININGTOTALVALUE() Determine if REMAININGTOTALVALUE has a value

RemainingUpfrontValue

The remaining upfront cost of the reservation.

Accessible with the following methods

Method Description
GET_REMAININGUPFRONTVALUE() Getter for REMAININGUPFRONTVALUE, with configurable default
ASK_REMAININGUPFRONTVALUE() Getter for REMAININGUPFRONTVALUE w/ exceptions if field has
HAS_REMAININGUPFRONTVALUE() Determine if REMAININGUPFRONTVALUE has a value