Skip to content

/AWS1/CL_OUTQUOTECAPACITY

A capacity requirement for a quote. Specifies the type of capacity, the unit, and the quantity.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_quotecapacitytype TYPE /AWS1/OUTQUOTECAPACITYTYPE /AWS1/OUTQUOTECAPACITYTYPE

The type of capacity. Valid values are EC2, EBS, and S3.

iv_unit TYPE /AWS1/OUTSTRING /AWS1/OUTSTRING

The unit of measurement for the capacity. For Amazon EC2, this is the instance type (for example, c5.24xlarge). For Amazon EBS and Amazon S3, this is the storage unit (for example, TiB for tebibytes).

iv_quantity TYPE /AWS1/RT_FLOAT_AS_STRING /AWS1/RT_FLOAT_AS_STRING

The quantity of the specified capacity unit. For Amazon EC2, this is the number of additional instances to add to the Outpost. For Amazon EBS and Amazon S3, this is the total desired end-state capacity of the Outpost.


Queryable Attributes

QuoteCapacityType

The type of capacity. Valid values are EC2, EBS, and S3.

Accessible with the following methods

Method Description
GET_QUOTECAPACITYTYPE() Getter for QUOTECAPACITYTYPE, with configurable default
ASK_QUOTECAPACITYTYPE() Getter for QUOTECAPACITYTYPE w/ exceptions if field has no v
HAS_QUOTECAPACITYTYPE() Determine if QUOTECAPACITYTYPE has a value

Unit

The unit of measurement for the capacity. For Amazon EC2, this is the instance type (for example, c5.24xlarge). For Amazon EBS and Amazon S3, this is the storage unit (for example, TiB for tebibytes).

Accessible with the following methods

Method Description
GET_UNIT() Getter for UNIT, with configurable default
ASK_UNIT() Getter for UNIT w/ exceptions if field has no value
HAS_UNIT() Determine if UNIT has a value

Quantity

The quantity of the specified capacity unit. For Amazon EC2, this is the number of additional instances to add to the Outpost. For Amazon EBS and Amazon S3, this is the total desired end-state capacity of the Outpost.

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_QUOTECAPACITYLIST

TYPES TT_QUOTECAPACITYLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_OUTQUOTECAPACITY WITH DEFAULT KEY
.