Class: Aws::CloudWatchOmni::Types::GateBound

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

Overview

Note:

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

Note:

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

The bound a gate's metric must meet. Specify exactly one.

Defined Under Namespace

Classes: Max, Min, Unknown, VsControl

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#max ⇒ Float

The maximum value of the metric. A finite number from 0 to 1.

Returns:

  • (Float)


4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 4138

class GateBound < Struct.new(
  :min,
  :max,
  :vs_control,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Min < GateBound; end
  class Max < GateBound; end
  class VsControl < GateBound; end
  class Unknown < GateBound; end
end

#min ⇒ Float

The minimum value of the metric. A finite number from 0 to 1 for a rate, or from -1e9 to 1e9 for an evaluator average.

Returns:

  • (Float)


4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 4138

class GateBound < Struct.new(
  :min,
  :max,
  :vs_control,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Min < GateBound; end
  class Max < GateBound; end
  class VsControl < GateBound; end
  class Unknown < GateBound; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



4138
4139
4140
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 4138

def unknown
  @unknown
end

#vs_control ⇒ Types::ControlBound

A bound relative to the control's value of the same metric, both over the cases both runs have: passRate and notScoredRate judged by the rule's criteria on the evaluators both runs have, evaluatorAverage over the cases both runs scored on it. A check with nothing to compare (an evaluator the control doesn't have, or no such cases) is skipped and left out of the checks. Not valid on regressedCases, fixedCases, regressedScores or unpairedCaseRate, which already compare with the control (RULE_BOUND_INVALID). Requires a control (RULE_CONTROL_REQUIRED).

Returns:



4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 4138

class GateBound < Struct.new(
  :min,
  :max,
  :vs_control,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Min < GateBound; end
  class Max < GateBound; end
  class VsControl < GateBound; end
  class Unknown < GateBound; end
end