You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Budgets::Types::TimePeriod

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

Overview

Note:

When making an API call, you may pass TimePeriod data as a hash:

{
  start: Time.now, # required
  end: Time.now, # required
}

A time period indicating the start date and end date of a budget.

Instance Attribute Summary collapse

Instance Attribute Details

#endTime

A generic timestamp. In Java it is transformed to a Date object.

Returns:

  • (Time)


807
808
809
810
811
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 807

class TimePeriod < Struct.new(
  :start,
  :end)
  include Aws::Structure
end

#startTime

A generic timestamp. In Java it is transformed to a Date object.

Returns:

  • (Time)


807
808
809
810
811
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 807

class TimePeriod < Struct.new(
  :start,
  :end)
  include Aws::Structure
end