Skip to content

/AWS1/CL_EC2DIMENSIONCONDITION

Specifies a condition for filtering capacity data based on dimension values. Used to create precise filters for metric queries and dimension lookups.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_dimension TYPE /AWS1/EC2FILTERBYDIMENSION /AWS1/EC2FILTERBYDIMENSION

The name of the dimension to filter by.

iv_comparison TYPE /AWS1/EC2COMPARISON /AWS1/EC2COMPARISON

The comparison operator to use for the filter.

it_values TYPE /AWS1/CL_EC2CONDVALUELIST_W=>TT_CONDITIONVALUELIST TT_CONDITIONVALUELIST

The list of values to match against the specified dimension. For 'equals' comparison, only the first value is used. For 'in' comparison, any matching value will satisfy the condition.


Queryable Attributes

Dimension

The name of the dimension to filter by.

Accessible with the following methods

Method Description
GET_DIMENSION() Getter for DIMENSION, with configurable default
ASK_DIMENSION() Getter for DIMENSION w/ exceptions if field has no value
HAS_DIMENSION() Determine if DIMENSION has a value

Comparison

The comparison operator to use for the filter.

Accessible with the following methods

Method Description
GET_COMPARISON() Getter for COMPARISON, with configurable default
ASK_COMPARISON() Getter for COMPARISON w/ exceptions if field has no value
HAS_COMPARISON() Determine if COMPARISON has a value

Values

The list of values to match against the specified dimension. For 'equals' comparison, only the first value is used. For 'in' comparison, any matching value will satisfy the condition.

Accessible with the following methods

Method Description
GET_VALUES() Getter for VALUES, with configurable default
ASK_VALUES() Getter for VALUES w/ exceptions if field has no value
HAS_VALUES() Determine if VALUES has a value