Class: Aws::ApplicationSignals::Types::Interval

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

Overview

Note:

Interval is a union - when making an API calls you must set exactly one of the members.

Note:

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

CalendarInterval, RollingInterval, Unknown

Defined Under Namespace

Classes: CalendarInterval, RollingInterval, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#calendar_intervalTypes::CalendarInterval

If the interval is a calendar interval, this structure contains the interval specifications.



384
385
386
387
388
389
390
391
392
393
394
395
# File 'gems/aws-sdk-applicationsignals/lib/aws-sdk-applicationsignals/types.rb', line 384

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_intervalTypes::RollingInterval

If the interval is a rolling interval, this structure contains the interval specifications.



384
385
386
387
388
389
390
391
392
393
394
395
# File 'gems/aws-sdk-applicationsignals/lib/aws-sdk-applicationsignals/types.rb', line 384

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

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



384
385
386
# File 'gems/aws-sdk-applicationsignals/lib/aws-sdk-applicationsignals/types.rb', line 384

def unknown
  @unknown
end