Class: Aws::Lightsail::Types::EstimateByTime

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

Overview

An estimate that’s associated with a time period.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#currencyString

The currency of the estimate in USD.

Returns:

  • (String)


6229
6230
6231
6232
6233
6234
6235
6236
6237
# File 'lib/aws-sdk-lightsail/types.rb', line 6229

class EstimateByTime < Struct.new(
  :usage_cost,
  :pricing_unit,
  :unit,
  :currency,
  :time_period)
  SENSITIVE = []
  include Aws::Structure
end

#pricing_unitString

The unit of measurement that’s used for the cost estimate.

Returns:

  • (String)


6229
6230
6231
6232
6233
6234
6235
6236
6237
# File 'lib/aws-sdk-lightsail/types.rb', line 6229

class EstimateByTime < Struct.new(
  :usage_cost,
  :pricing_unit,
  :unit,
  :currency,
  :time_period)
  SENSITIVE = []
  include Aws::Structure
end

#time_periodTypes::TimePeriod

The period of time, in days, that an estimate covers. The period has a start date and an end date. The start date must come before the end date.

Returns:



6229
6230
6231
6232
6233
6234
6235
6236
6237
# File 'lib/aws-sdk-lightsail/types.rb', line 6229

class EstimateByTime < Struct.new(
  :usage_cost,
  :pricing_unit,
  :unit,
  :currency,
  :time_period)
  SENSITIVE = []
  include Aws::Structure
end

#unitFloat

The number of pricing units used to calculate the total number of hours. For example, 1 unit equals 1 hour.

Returns:

  • (Float)


6229
6230
6231
6232
6233
6234
6235
6236
6237
# File 'lib/aws-sdk-lightsail/types.rb', line 6229

class EstimateByTime < Struct.new(
  :usage_cost,
  :pricing_unit,
  :unit,
  :currency,
  :time_period)
  SENSITIVE = []
  include Aws::Structure
end

#usage_costFloat

The amount of cost or usage that’s measured for the cost estimate.

Returns:

  • (Float)


6229
6230
6231
6232
6233
6234
6235
6236
6237
# File 'lib/aws-sdk-lightsail/types.rb', line 6229

class EstimateByTime < Struct.new(
  :usage_cost,
  :pricing_unit,
  :unit,
  :currency,
  :time_period)
  SENSITIVE = []
  include Aws::Structure
end