Skip to content

/AWS1/CL_BCOCOMPUTESAVINGSPL01

The Compute 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. Amazon Web Services calculates recommendations including the management account and member accounts if the value is set to PAYER. If the value is LINKED, recommendations are calculated for individual member accounts only.

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.


Queryable Attributes

accountScope

The account scope for which you want recommendations. Amazon Web Services calculates recommendations including the management account and member accounts if the value is set to PAYER. If the value is LINKED, recommendations are calculated for individual member accounts only.

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