Class: Aws::CostExplorer::Types::ComparisonMetricValue

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-costexplorer/types.rb

Overview

Contains cost or usage metric values for comparing two time periods. Each value includes amounts for the baseline and comparison time periods, their difference, and the unit of measurement.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#baseline_time_period_amountString

The numeric value for the baseline time period measurement.

Returns:

  • (String)


503
504
505
506
507
508
509
510
# File 'lib/aws-sdk-costexplorer/types.rb', line 503

class ComparisonMetricValue < Struct.new(
  :baseline_time_period_amount,
  :comparison_time_period_amount,
  :difference,
  :unit)
  SENSITIVE = []
  include Aws::Structure
end

#comparison_time_period_amountString

The numeric value for the comparison time period measurement.

Returns:

  • (String)


503
504
505
506
507
508
509
510
# File 'lib/aws-sdk-costexplorer/types.rb', line 503

class ComparisonMetricValue < Struct.new(
  :baseline_time_period_amount,
  :comparison_time_period_amount,
  :difference,
  :unit)
  SENSITIVE = []
  include Aws::Structure
end

#differenceString

The calculated difference between ‘ComparisonTimePeriodAmount` and `BaselineTimePeriodAmount`.

Returns:

  • (String)


503
504
505
506
507
508
509
510
# File 'lib/aws-sdk-costexplorer/types.rb', line 503

class ComparisonMetricValue < Struct.new(
  :baseline_time_period_amount,
  :comparison_time_period_amount,
  :difference,
  :unit)
  SENSITIVE = []
  include Aws::Structure
end

#unitString

The unit of measurement applicable to all numeric values in this comparison.

Returns:

  • (String)


503
504
505
506
507
508
509
510
# File 'lib/aws-sdk-costexplorer/types.rb', line 503

class ComparisonMetricValue < Struct.new(
  :baseline_time_period_amount,
  :comparison_time_period_amount,
  :difference,
  :unit)
  SENSITIVE = []
  include Aws::Structure
end