Class: Humidifier::IoT::FleetMetric

Inherits:
Resource
  • Object
show all
Defined in:
lib/humidifier/magic.rb

Overview

A dynamically-defined class that represents an AWS::IoT::FleetMetric resource

AWS Resource:

Constant Summary

Constants inherited from Resource

Resource::COMMON_ATTRIBUTES

Instance Method Summary collapse

Methods inherited from Resource

#initialize, #method_missing, prop?, #respond_to_missing?, #to_cf, #update, #update_attributes, #update_property

Constructor Details

This class inherits a constructor from Humidifier::Resource

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Humidifier::Resource

Instance Method Details

#aggregation_fieldObject

returns the AggregationField property



10
11
12
# File 'lib/humidifier/magic.rb', line 10

def aggregation_field
  properties['aggregation_field']
end

#aggregation_field=(value) ⇒ Object

sets the AggregationField property (String)



15
16
17
# File 'lib/humidifier/magic.rb', line 15

def aggregation_field=(value)
  update_property('aggregation_field', value)
end

#aggregation_typeObject

returns the AggregationType property



20
21
22
# File 'lib/humidifier/magic.rb', line 20

def aggregation_type
  properties['aggregation_type']
end

#aggregation_type=(value) ⇒ Object

sets the AggregationType property (Structure)



25
26
27
# File 'lib/humidifier/magic.rb', line 25

def aggregation_type=(value)
  update_property('aggregation_type', value)
end

#descriptionObject

returns the Description property



30
31
32
# File 'lib/humidifier/magic.rb', line 30

def description
  properties['description']
end

#description=(value) ⇒ Object

sets the Description property (String)



35
36
37
# File 'lib/humidifier/magic.rb', line 35

def description=(value)
  update_property('description', value)
end

#index_nameObject

returns the IndexName property



40
41
42
# File 'lib/humidifier/magic.rb', line 40

def index_name
  properties['index_name']
end

#index_name=(value) ⇒ Object

sets the IndexName property (String)



45
46
47
# File 'lib/humidifier/magic.rb', line 45

def index_name=(value)
  update_property('index_name', value)
end

#metric_nameObject

returns the MetricName property



50
51
52
# File 'lib/humidifier/magic.rb', line 50

def metric_name
  properties['metric_name']
end

#metric_name=(value) ⇒ Object

sets the MetricName property (String)



55
56
57
# File 'lib/humidifier/magic.rb', line 55

def metric_name=(value)
  update_property('metric_name', value)
end

#periodObject

returns the Period property



60
61
62
# File 'lib/humidifier/magic.rb', line 60

def period
  properties['period']
end

#period=(value) ⇒ Object

sets the Period property (Integer)



65
66
67
# File 'lib/humidifier/magic.rb', line 65

def period=(value)
  update_property('period', value)
end

#query_stringObject

returns the QueryString property



70
71
72
# File 'lib/humidifier/magic.rb', line 70

def query_string
  properties['query_string']
end

#query_string=(value) ⇒ Object

sets the QueryString property (String)



75
76
77
# File 'lib/humidifier/magic.rb', line 75

def query_string=(value)
  update_property('query_string', value)
end

#query_versionObject

returns the QueryVersion property



80
81
82
# File 'lib/humidifier/magic.rb', line 80

def query_version
  properties['query_version']
end

#query_version=(value) ⇒ Object

sets the QueryVersion property (String)



85
86
87
# File 'lib/humidifier/magic.rb', line 85

def query_version=(value)
  update_property('query_version', value)
end

#tagsObject

returns the Tags property



90
91
92
# File 'lib/humidifier/magic.rb', line 90

def tags
  properties['tags']
end

#tags=(value) ⇒ Object

sets the Tags property (List)



95
96
97
# File 'lib/humidifier/magic.rb', line 95

def tags=(value)
  update_property('tags', value)
end

#unitObject

returns the Unit property



100
101
102
# File 'lib/humidifier/magic.rb', line 100

def unit
  properties['unit']
end

#unit=(value) ⇒ Object

sets the Unit property (String)



105
106
107
# File 'lib/humidifier/magic.rb', line 105

def unit=(value)
  update_property('unit', value)
end