Class: Humidifier::IoTEvents::AlarmModel

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

Overview

A dynamically-defined class that represents an AWS::IoTEvents::AlarmModel 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

#alarm_capabilitiesObject

returns the AlarmCapabilities property



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

def alarm_capabilities
  properties['alarm_capabilities']
end

#alarm_capabilities=(value) ⇒ Object

sets the AlarmCapabilities property (Structure)



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

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

#alarm_event_actionsObject

returns the AlarmEventActions property



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

def alarm_event_actions
  properties['alarm_event_actions']
end

#alarm_event_actions=(value) ⇒ Object

sets the AlarmEventActions property (Structure)



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

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

#alarm_model_descriptionObject

returns the AlarmModelDescription property



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

def alarm_model_description
  properties['alarm_model_description']
end

#alarm_model_description=(value) ⇒ Object

sets the AlarmModelDescription property (String)



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

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

#alarm_model_nameObject

returns the AlarmModelName property



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

def alarm_model_name
  properties['alarm_model_name']
end

#alarm_model_name=(value) ⇒ Object

sets the AlarmModelName property (String)



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

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

#alarm_ruleObject

returns the AlarmRule property



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

def alarm_rule
  properties['alarm_rule']
end

#alarm_rule=(value) ⇒ Object

sets the AlarmRule property (Structure)



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

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

#keyObject

returns the Key property



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

def key
  properties['key']
end

#key=(value) ⇒ Object

sets the Key property (String)



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

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

#role_arnObject

returns the RoleArn property



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

def role_arn
  properties['role_arn']
end

#role_arn=(value) ⇒ Object

sets the RoleArn property (String)



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

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

#severityObject

returns the Severity property



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

def severity
  properties['severity']
end

#severity=(value) ⇒ Object

sets the Severity property (Integer)



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

def severity=(value)
  update_property('severity', 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