Class: Aws::PrometheusService::Types::IgnoreNearExpected
- Inherits:
-
Struct
- Object
- Struct
- Aws::PrometheusService::Types::IgnoreNearExpected
- Defined in:
- gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/types.rb
Overview
IgnoreNearExpected is a union - when making an API calls you must set exactly one of the members.
IgnoreNearExpected is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of IgnoreNearExpected corresponding to the set member.
Configuration for threshold settings that determine when values near expected values should be ignored during anomaly detection.
Defined Under Namespace
Classes: Amount, Ratio, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#amount ⇒ Float
The absolute amount by which values can differ from expected values before being considered anomalous.
-
#ratio ⇒ Float
The ratio by which values can differ from expected values before being considered anomalous.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#amount ⇒ Float
The absolute amount by which values can differ from expected values before being considered anomalous.
1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 |
# File 'gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/types.rb', line 1452 class IgnoreNearExpected < Struct.new( :amount, :ratio, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Amount < IgnoreNearExpected; end class Ratio < IgnoreNearExpected; end class Unknown < IgnoreNearExpected; end end |
#ratio ⇒ Float
The ratio by which values can differ from expected values before being considered anomalous.
1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 |
# File 'gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/types.rb', line 1452 class IgnoreNearExpected < Struct.new( :amount, :ratio, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Amount < IgnoreNearExpected; end class Ratio < IgnoreNearExpected; end class Unknown < IgnoreNearExpected; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
1452 1453 1454 |
# File 'gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/types.rb', line 1452 def unknown @unknown end |