Class: Aws::BCMPricingCalculator::Types::UsageQuantity

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-bcmpricingcalculator/lib/aws-sdk-bcmpricingcalculator/types.rb

Overview

Represents a usage quantity with associated unit and time period.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#amountFloat

The numeric value of the usage quantity.

Returns:

  • (Float)


3329
3330
3331
3332
3333
3334
3335
# File 'gems/aws-sdk-bcmpricingcalculator/lib/aws-sdk-bcmpricingcalculator/types.rb', line 3329

class UsageQuantity < Struct.new(
  :start_hour,
  :unit,
  :amount)
  SENSITIVE = []
  include Aws::Structure
end

#start_hourTime

The start hour of the usage period.

Returns:

  • (Time)


3329
3330
3331
3332
3333
3334
3335
# File 'gems/aws-sdk-bcmpricingcalculator/lib/aws-sdk-bcmpricingcalculator/types.rb', line 3329

class UsageQuantity < Struct.new(
  :start_hour,
  :unit,
  :amount)
  SENSITIVE = []
  include Aws::Structure
end

#unitString

The unit of measurement for the usage quantity.

Returns:

  • (String)


3329
3330
3331
3332
3333
3334
3335
# File 'gems/aws-sdk-bcmpricingcalculator/lib/aws-sdk-bcmpricingcalculator/types.rb', line 3329

class UsageQuantity < Struct.new(
  :start_hour,
  :unit,
  :amount)
  SENSITIVE = []
  include Aws::Structure
end