Class: Aws::Lightsail::Types::EstimateByTime
- Inherits:
-
Struct
- Object
- Struct
- Aws::Lightsail::Types::EstimateByTime
- 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
-
#currency ⇒ String
The currency of the estimate in USD.
-
#pricing_unit ⇒ String
The unit of measurement that’s used for the cost estimate.
-
#time_period ⇒ Types::TimePeriod
The period of time, in days, that an estimate covers.
-
#unit ⇒ Float
The number of pricing units used to calculate the total number of hours.
-
#usage_cost ⇒ Float
The amount of cost or usage that’s measured for the cost estimate.
Instance Attribute Details
#currency ⇒ String
The currency of the estimate in USD.
6230 6231 6232 6233 6234 6235 6236 6237 6238 |
# File 'lib/aws-sdk-lightsail/types.rb', line 6230 class EstimateByTime < Struct.new( :usage_cost, :pricing_unit, :unit, :currency, :time_period) SENSITIVE = [] include Aws::Structure end |
#pricing_unit ⇒ String
The unit of measurement that’s used for the cost estimate.
6230 6231 6232 6233 6234 6235 6236 6237 6238 |
# File 'lib/aws-sdk-lightsail/types.rb', line 6230 class EstimateByTime < Struct.new( :usage_cost, :pricing_unit, :unit, :currency, :time_period) SENSITIVE = [] include Aws::Structure end |
#time_period ⇒ Types::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.
6230 6231 6232 6233 6234 6235 6236 6237 6238 |
# File 'lib/aws-sdk-lightsail/types.rb', line 6230 class EstimateByTime < Struct.new( :usage_cost, :pricing_unit, :unit, :currency, :time_period) SENSITIVE = [] include Aws::Structure end |
#unit ⇒ Float
The number of pricing units used to calculate the total number of hours. For example, 1 unit equals 1 hour.
6230 6231 6232 6233 6234 6235 6236 6237 6238 |
# File 'lib/aws-sdk-lightsail/types.rb', line 6230 class EstimateByTime < Struct.new( :usage_cost, :pricing_unit, :unit, :currency, :time_period) SENSITIVE = [] include Aws::Structure end |
#usage_cost ⇒ Float
The amount of cost or usage that’s measured for the cost estimate.
6230 6231 6232 6233 6234 6235 6236 6237 6238 |
# File 'lib/aws-sdk-lightsail/types.rb', line 6230 class EstimateByTime < Struct.new( :usage_cost, :pricing_unit, :unit, :currency, :time_period) SENSITIVE = [] include Aws::Structure end |