/AWS1/CL_BTCQUEUESNAPCAPUSAGE¶
The configured capacity usage for a job queue snapshot, including the unit of measure and quantity of resources being used.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_capacityunit TYPE /AWS1/BTCSTRING /AWS1/BTCSTRING¶
The unit of measure for the capacity usage. For compute jobs, this is
VCPUfor Amazon EC2 andcpufor Amazon EKS. For service jobs, this is the instance type.
iv_quantity TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING¶
The quantity of capacity being used in the queue snapshot, measured in the units specified by
capacityUnit.
Queryable Attributes¶
capacityUnit¶
The unit of measure for the capacity usage. For compute jobs, this is
VCPUfor Amazon EC2 andcpufor Amazon EKS. For service jobs, this is the instance type.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CAPACITYUNIT() |
Getter for CAPACITYUNIT, with configurable default |
ASK_CAPACITYUNIT() |
Getter for CAPACITYUNIT w/ exceptions if field has no value |
HAS_CAPACITYUNIT() |
Determine if CAPACITYUNIT has a value |
quantity¶
The quantity of capacity being used in the queue snapshot, measured in the units specified by
capacityUnit.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_QUANTITY() |
Getter for QUANTITY, with configurable default |
ASK_QUANTITY() |
Getter for QUANTITY w/ exceptions if field has no value |
STR_QUANTITY() |
String format for QUANTITY, with configurable default |
HAS_QUANTITY() |
Determine if QUANTITY 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_QUEUESNAPCAPACITYUSAGELIST¶
TYPES TT_QUEUESNAPCAPACITYUSAGELIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_BTCQUEUESNAPCAPUSAGE WITH DEFAULT KEY
.