Skip to content

/AWS1/CL_BCOEC2INSTSAVINGSPL01

The EC2 instance Savings Plans configuration used for recommendations.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_accountscope TYPE /AWS1/BCOSTRING /AWS1/BCOSTRING

The account scope for which you want recommendations.

iv_term TYPE /AWS1/BCOSTRING /AWS1/BCOSTRING

The Savings Plans recommendation term in years.

iv_paymentoption TYPE /AWS1/BCOSTRING /AWS1/BCOSTRING

The payment option for the commitment.

iv_hourlycommitment TYPE /AWS1/BCOSTRING /AWS1/BCOSTRING

The hourly commitment for the Savings Plans type.

iv_instancefamily TYPE /AWS1/BCOSTRING /AWS1/BCOSTRING

The instance family of the recommended Savings Plan.

iv_savingsplansregion TYPE /AWS1/BCOSTRING /AWS1/BCOSTRING

The Amazon Web Services Region of the commitment.


Queryable Attributes

accountScope

The account scope for which you want recommendations.

Accessible with the following methods

Method Description
GET_ACCOUNTSCOPE() Getter for ACCOUNTSCOPE, with configurable default
ASK_ACCOUNTSCOPE() Getter for ACCOUNTSCOPE w/ exceptions if field has no value
HAS_ACCOUNTSCOPE() Determine if ACCOUNTSCOPE has a value

term

The Savings Plans recommendation term in years.

Accessible with the following methods

Method Description
GET_TERM() Getter for TERM, with configurable default
ASK_TERM() Getter for TERM w/ exceptions if field has no value
HAS_TERM() Determine if TERM has a value

paymentOption

The payment option for the commitment.

Accessible with the following methods

Method Description
GET_PAYMENTOPTION() Getter for PAYMENTOPTION, with configurable default
ASK_PAYMENTOPTION() Getter for PAYMENTOPTION w/ exceptions if field has no value
HAS_PAYMENTOPTION() Determine if PAYMENTOPTION has a value

hourlyCommitment

The hourly commitment for the Savings Plans type.

Accessible with the following methods

Method Description
GET_HOURLYCOMMITMENT() Getter for HOURLYCOMMITMENT, with configurable default
ASK_HOURLYCOMMITMENT() Getter for HOURLYCOMMITMENT w/ exceptions if field has no va
HAS_HOURLYCOMMITMENT() Determine if HOURLYCOMMITMENT has a value

instanceFamily

The instance family of the recommended Savings Plan.

Accessible with the following methods

Method Description
GET_INSTANCEFAMILY() Getter for INSTANCEFAMILY, with configurable default
ASK_INSTANCEFAMILY() Getter for INSTANCEFAMILY w/ exceptions if field has no valu
HAS_INSTANCEFAMILY() Determine if INSTANCEFAMILY has a value

savingsPlansRegion

The Amazon Web Services Region of the commitment.

Accessible with the following methods

Method Description
GET_SAVINGSPLANSREGION() Getter for SAVINGSPLANSREGION, with configurable default
ASK_SAVINGSPLANSREGION() Getter for SAVINGSPLANSREGION w/ exceptions if field has no
HAS_SAVINGSPLANSREGION() Determine if SAVINGSPLANSREGION has a value