Class: Humidifier::ApiGateway::UsagePlanKey
- Defined in:
- lib/humidifier/magic.rb
Overview
A dynamically-defined class that represents an AWS::ApiGateway::UsagePlanKey resource
Constant Summary
Constants inherited from Resource
Instance Method Summary collapse
-
#key_id ⇒ Object
returns the KeyId property.
-
#key_id=(value) ⇒ Object
sets the KeyId property (String).
-
#key_type ⇒ Object
returns the KeyType property.
-
#key_type=(value) ⇒ Object
sets the KeyType property (String).
-
#usage_plan_id ⇒ Object
returns the UsagePlanId property.
-
#usage_plan_id=(value) ⇒ Object
sets the UsagePlanId property (String).
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
#key_id ⇒ Object
returns the KeyId property
10 11 12 |
# File 'lib/humidifier/magic.rb', line 10 def key_id properties['key_id'] end |
#key_id=(value) ⇒ Object
sets the KeyId property (String)
15 16 17 |
# File 'lib/humidifier/magic.rb', line 15 def key_id=(value) update_property('key_id', value) end |
#key_type ⇒ Object
returns the KeyType property
20 21 22 |
# File 'lib/humidifier/magic.rb', line 20 def key_type properties['key_type'] end |
#key_type=(value) ⇒ Object
sets the KeyType property (String)
25 26 27 |
# File 'lib/humidifier/magic.rb', line 25 def key_type=(value) update_property('key_type', value) end |
#usage_plan_id ⇒ Object
returns the UsagePlanId property
30 31 32 |
# File 'lib/humidifier/magic.rb', line 30 def usage_plan_id properties['usage_plan_id'] end |
#usage_plan_id=(value) ⇒ Object
sets the UsagePlanId property (String)
35 36 37 |
# File 'lib/humidifier/magic.rb', line 35 def usage_plan_id=(value) update_property('usage_plan_id', value) end |