Skip to content

/AWS1/CL_ADSRESERVEDINSTOPTS

Used to provide Reserved Instance preferences for the recommendation.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_purchasingoption TYPE /AWS1/ADSPURCHASINGOPTION /AWS1/ADSPURCHASINGOPTION

The payment plan to use for your Reserved Instance.

iv_offeringclass TYPE /AWS1/ADSOFFERINGCLASS /AWS1/ADSOFFERINGCLASS

The flexibility to change the instance types needed for your Reserved Instance.

iv_termlength TYPE /AWS1/ADSTERMLENGTH /AWS1/ADSTERMLENGTH

The preferred duration of the Reserved Instance term.


Queryable Attributes

purchasingOption

The payment plan to use for your Reserved Instance.

Accessible with the following methods

Method Description
GET_PURCHASINGOPTION() Getter for PURCHASINGOPTION, with configurable default
ASK_PURCHASINGOPTION() Getter for PURCHASINGOPTION w/ exceptions if field has no va
HAS_PURCHASINGOPTION() Determine if PURCHASINGOPTION has a value

offeringClass

The flexibility to change the instance types needed for your Reserved Instance.

Accessible with the following methods

Method Description
GET_OFFERINGCLASS() Getter for OFFERINGCLASS, with configurable default
ASK_OFFERINGCLASS() Getter for OFFERINGCLASS w/ exceptions if field has no value
HAS_OFFERINGCLASS() Determine if OFFERINGCLASS has a value

termLength

The preferred duration of the Reserved Instance term.

Accessible with the following methods

Method Description
GET_TERMLENGTH() Getter for TERMLENGTH, with configurable default
ASK_TERMLENGTH() Getter for TERMLENGTH w/ exceptions if field has no value
HAS_TERMLENGTH() Determine if TERMLENGTH has a value