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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-costexplorer/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)


537
538
539
540
541
542
543
544
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 537

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)


537
538
539
540
541
542
543
544
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 537

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)


537
538
539
540
541
542
543
544
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 537

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)


537
538
539
540
541
542
543
544
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 537

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