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.



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

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



462
463
464
# File 'gems/aws-sdk-applicationsignals/lib/aws-sdk-applicationsignals/types.rb', line 462

def unknown
  @unknown
end