Class: Aws::CloudWatchOmni::Types::CaseCriterion

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

Overview

Note:

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

Note:

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

A condition a case must meet to pass.

Defined Under Namespace

Classes: Evaluator, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#evaluator ⇒ Types::EvaluatorCriterion

A condition on the case's result for one of the run's evaluators.



992
993
994
995
996
997
998
999
1000
1001
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 992

class CaseCriterion < Struct.new(
  :evaluator,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Evaluator < CaseCriterion; end
  class Unknown < CaseCriterion; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



992
993
994
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 992

def unknown
  @unknown
end