Class: Aws::ApplicationSignals::Types::Interval
- Inherits:
-
Struct
- Object
- Struct
- Aws::ApplicationSignals::Types::Interval
- Defined in:
- gems/aws-sdk-applicationsignals/lib/aws-sdk-applicationsignals/types.rb
Overview
Interval is a union - when making an API calls you must set exactly one of the members.
Interval is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of Interval corresponding to the set member.
The time period used to evaluate the SLO. It can be either a calendar interval or rolling interval.
Direct Known Subclasses
Defined Under Namespace
Classes: CalendarInterval, RollingInterval, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#calendar_interval ⇒ Types::CalendarInterval
If the interval is a calendar interval, this structure contains the interval specifications.
-
#rolling_interval ⇒ Types::RollingInterval
If the interval is a rolling interval, this structure contains the interval specifications.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#calendar_interval ⇒ Types::CalendarInterval
If the interval is a calendar interval, this structure contains the interval specifications.
462 463 464 465 466 467 468 469 470 471 472 473 |
# File 'gems/aws-sdk-applicationsignals/lib/aws-sdk-applicationsignals/types.rb', line 462 class Interval < Struct.new( :rolling_interval, :calendar_interval, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class RollingInterval < Interval; end class CalendarInterval < Interval; end class Unknown < Interval; end end |
#rolling_interval ⇒ Types::RollingInterval
If the interval is a rolling interval, this structure contains the interval specifications.
462 463 464 465 466 467 468 469 470 471 472 473 |
# File 'gems/aws-sdk-applicationsignals/lib/aws-sdk-applicationsignals/types.rb', line 462 class Interval < Struct.new( :rolling_interval, :calendar_interval, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class RollingInterval < Interval; end class CalendarInterval < Interval; end class Unknown < Interval; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
462 463 464 |
# File 'gems/aws-sdk-applicationsignals/lib/aws-sdk-applicationsignals/types.rb', line 462 def unknown @unknown end |