Class: Aws::IoT::Types::MetricValue

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

Overview

The value to be compared with the metric.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#cidrs ⇒ Array<String>

If the comparisonOperator calls for a set of CIDRs, use this to specify that set to be compared with the metric.

Returns:

  • (Array<String>)


13766
13767
13768
13769
13770
13771
13772
13773
13774
13775
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 13766

class MetricValue < Struct.new(
  :count,
  :cidrs,
  :ports,
  :number,
  :numbers,
  :strings)
  SENSITIVE = []
  include Aws::Structure
end

#count ⇒ Integer

If the comparisonOperator calls for a numeric value, use this to specify that numeric value to be compared with the metric.

Returns:

  • (Integer)


13766
13767
13768
13769
13770
13771
13772
13773
13774
13775
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 13766

class MetricValue < Struct.new(
  :count,
  :cidrs,
  :ports,
  :number,
  :numbers,
  :strings)
  SENSITIVE = []
  include Aws::Structure
end

#number ⇒ Float

The numeral value of a metric.

Returns:

  • (Float)


13766
13767
13768
13769
13770
13771
13772
13773
13774
13775
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 13766

class MetricValue < Struct.new(
  :count,
  :cidrs,
  :ports,
  :number,
  :numbers,
  :strings)
  SENSITIVE = []
  include Aws::Structure
end

#numbers ⇒ Array<Float>

The numeral values of a metric.

Returns:

  • (Array<Float>)


13766
13767
13768
13769
13770
13771
13772
13773
13774
13775
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 13766

class MetricValue < Struct.new(
  :count,
  :cidrs,
  :ports,
  :number,
  :numbers,
  :strings)
  SENSITIVE = []
  include Aws::Structure
end

#ports ⇒ Array<Integer>

If the comparisonOperator calls for a set of ports, use this to specify that set to be compared with the metric.

Returns:

  • (Array<Integer>)


13766
13767
13768
13769
13770
13771
13772
13773
13774
13775
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 13766

class MetricValue < Struct.new(
  :count,
  :cidrs,
  :ports,
  :number,
  :numbers,
  :strings)
  SENSITIVE = []
  include Aws::Structure
end

#strings ⇒ Array<String>

The string values of a metric.

Returns:

  • (Array<String>)


13766
13767
13768
13769
13770
13771
13772
13773
13774
13775
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 13766

class MetricValue < Struct.new(
  :count,
  :cidrs,
  :ports,
  :number,
  :numbers,
  :strings)
  SENSITIVE = []
  include Aws::Structure
end