Skip to content

/AWS1/CL_EC2PURCHASEREQUEST

Describes a request to purchase Scheduled Instances.

CONSTRUCTOR

IMPORTING

Required arguments:

IV_INSTANCECOUNT TYPE /AWS1/EC2INTEGER /AWS1/EC2INTEGER

The number of instances.

IV_PURCHASETOKEN TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The purchase token.


Queryable Attributes

InstanceCount

The number of instances.

Accessible with the following methods

Method Description
GET_INSTANCECOUNT() Getter for INSTANCECOUNT, with configurable default
ASK_INSTANCECOUNT() Getter for INSTANCECOUNT w/ exceptions if field has no value
HAS_INSTANCECOUNT() Determine if INSTANCECOUNT has a value

PurchaseToken

The purchase token.

Accessible with the following methods

Method Description
GET_PURCHASETOKEN() Getter for PURCHASETOKEN, with configurable default
ASK_PURCHASETOKEN() Getter for PURCHASETOKEN w/ exceptions if field has no value
HAS_PURCHASETOKEN() Determine if PURCHASETOKEN 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_PURCHASEREQUESTSET

TYPES TT_PURCHASEREQUESTSET TYPE STANDARD TABLE OF REF TO /AWS1/CL_EC2PURCHASEREQUEST WITH DEFAULT KEY
.