Class: Aws::CloudWatchOmni::Types::SloTimeWindow

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

Overview

Note:

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

Note:

SloTimeWindow is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of SloTimeWindow corresponding to the set member.

The window an SLO's objective is measured over. Exactly one member is set.

Defined Under Namespace

Classes: Calendar, Rolling, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#calendar ⇒ Types::SloCalendarWindow

A calendar week or month. The totals restart at each boundary.



9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 9151

class SloTimeWindow < Struct.new(
  :rolling,
  :calendar,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Rolling < SloTimeWindow; end
  class Calendar < SloTimeWindow; end
  class Unknown < SloTimeWindow; end
end

#rolling ⇒ Types::SloRollingWindow

A window covering the most recent days, moving with every evaluation.



9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 9151

class SloTimeWindow < Struct.new(
  :rolling,
  :calendar,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Rolling < SloTimeWindow; end
  class Calendar < SloTimeWindow; end
  class Unknown < SloTimeWindow; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



9151
9152
9153
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 9151

def unknown
  @unknown
end