Class: Humidifier::Kinesis::Stream
- Defined in:
- lib/humidifier/magic.rb
Overview
A dynamically-defined class that represents an AWS::Kinesis::Stream resource
Constant Summary
Constants inherited from Resource
Instance Method Summary collapse
-
#name ⇒ Object
returns the Name property.
-
#name=(value) ⇒ Object
sets the Name property (String).
-
#retention_period_hours ⇒ Object
returns the RetentionPeriodHours property.
-
#retention_period_hours=(value) ⇒ Object
sets the RetentionPeriodHours property (Integer).
-
#shard_count ⇒ Object
returns the ShardCount property.
-
#shard_count=(value) ⇒ Object
sets the ShardCount property (Integer).
-
#stream_encryption ⇒ Object
returns the StreamEncryption property.
-
#stream_encryption=(value) ⇒ Object
sets the StreamEncryption property (Structure).
-
#stream_mode_details ⇒ Object
returns the StreamModeDetails property.
-
#stream_mode_details=(value) ⇒ Object
sets the StreamModeDetails property (Structure).
-
#tags ⇒ Object
returns the Tags property.
-
#tags=(value) ⇒ Object
sets the Tags property (List).
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
#name ⇒ Object
returns the Name property
10 11 12 |
# File 'lib/humidifier/magic.rb', line 10 def name properties['name'] end |
#name=(value) ⇒ Object
sets the Name property (String)
15 16 17 |
# File 'lib/humidifier/magic.rb', line 15 def name=(value) update_property('name', value) end |
#retention_period_hours ⇒ Object
returns the RetentionPeriodHours property
20 21 22 |
# File 'lib/humidifier/magic.rb', line 20 def retention_period_hours properties['retention_period_hours'] end |
#retention_period_hours=(value) ⇒ Object
sets the RetentionPeriodHours property (Integer)
25 26 27 |
# File 'lib/humidifier/magic.rb', line 25 def retention_period_hours=(value) update_property('retention_period_hours', value) end |
#shard_count ⇒ Object
returns the ShardCount property
30 31 32 |
# File 'lib/humidifier/magic.rb', line 30 def shard_count properties['shard_count'] end |
#shard_count=(value) ⇒ Object
sets the ShardCount property (Integer)
35 36 37 |
# File 'lib/humidifier/magic.rb', line 35 def shard_count=(value) update_property('shard_count', value) end |
#stream_encryption ⇒ Object
returns the StreamEncryption property
40 41 42 |
# File 'lib/humidifier/magic.rb', line 40 def stream_encryption properties['stream_encryption'] end |
#stream_encryption=(value) ⇒ Object
sets the StreamEncryption property (Structure)
45 46 47 |
# File 'lib/humidifier/magic.rb', line 45 def stream_encryption=(value) update_property('stream_encryption', value) end |
#stream_mode_details ⇒ Object
returns the StreamModeDetails property
50 51 52 |
# File 'lib/humidifier/magic.rb', line 50 def stream_mode_details properties['stream_mode_details'] end |
#stream_mode_details=(value) ⇒ Object
sets the StreamModeDetails property (Structure)
55 56 57 |
# File 'lib/humidifier/magic.rb', line 55 def stream_mode_details=(value) update_property('stream_mode_details', value) end |
#tags ⇒ Object
returns the Tags property
60 61 62 |
# File 'lib/humidifier/magic.rb', line 60 def properties['tags'] end |
#tags=(value) ⇒ Object
sets the Tags property (List)
65 66 67 |
# File 'lib/humidifier/magic.rb', line 65 def (value) update_property('tags', value) end |