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

#cidrsArray<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>)


11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 11895

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

#countInteger

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

Returns:

  • (Integer)


11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 11895

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

#numberFloat

The numeral value of a metric.

Returns:

  • (Float)


11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 11895

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

#numbersArray<Float>

The numeral values of a metric.

Returns:

  • (Array<Float>)


11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 11895

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

#portsArray<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>)


11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 11895

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

#stringsArray<String>

The string values of a metric.

Returns:

  • (Array<String>)


11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 11895

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