Skip to content

/AWS1/CL_LSACOSTESTIMATE

Describes the estimated cost for resources in your Lightsail for Research account.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_usagetype TYPE /AWS1/LSANONEMPTYSTRING /AWS1/LSANONEMPTYSTRING

The types of usage that are included in the estimate, such as costs, usage, or data transfer.

it_resultsbytime TYPE /AWS1/CL_LSAESTIMATEBYTIME=>TT_ESTIMATESBYTIME TT_ESTIMATESBYTIME

The cost estimate result that's associated with a time period.


Queryable Attributes

usageType

The types of usage that are included in the estimate, such as costs, usage, or data transfer.

Accessible with the following methods

Method Description
GET_USAGETYPE() Getter for USAGETYPE, with configurable default
ASK_USAGETYPE() Getter for USAGETYPE w/ exceptions if field has no value
HAS_USAGETYPE() Determine if USAGETYPE has a value

resultsByTime

The cost estimate result that's associated with a time period.

Accessible with the following methods

Method Description
GET_RESULTSBYTIME() Getter for RESULTSBYTIME, with configurable default
ASK_RESULTSBYTIME() Getter for RESULTSBYTIME w/ exceptions if field has no value
HAS_RESULTSBYTIME() Determine if RESULTSBYTIME 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_COSTESTIMATES

TYPES TT_COSTESTIMATES TYPE STANDARD TABLE OF REF TO /AWS1/CL_LSACOSTESTIMATE WITH DEFAULT KEY
.