Class: Humidifier::Lightsail::Bucket
- Defined in:
- lib/humidifier/magic.rb
Overview
A dynamically-defined class that represents an AWS::Lightsail::Bucket resource
Constant Summary
Constants inherited from Resource
Instance Method Summary collapse
-
#access_rules ⇒ Object
returns the AccessRules property.
-
#access_rules=(value) ⇒ Object
sets the AccessRules property (Structure).
-
#bucket_name ⇒ Object
returns the BucketName property.
-
#bucket_name=(value) ⇒ Object
sets the BucketName property (String).
-
#bundle_id ⇒ Object
returns the BundleId property.
-
#bundle_id=(value) ⇒ Object
sets the BundleId property (String).
-
#object_versioning ⇒ Object
returns the ObjectVersioning property.
-
#object_versioning=(value) ⇒ Object
sets the ObjectVersioning property (Boolean).
-
#read_only_access_accounts ⇒ Object
returns the ReadOnlyAccessAccounts property.
-
#read_only_access_accounts=(value) ⇒ Object
sets the ReadOnlyAccessAccounts property (List).
-
#resources_receiving_access ⇒ Object
returns the ResourcesReceivingAccess property.
-
#resources_receiving_access=(value) ⇒ Object
sets the ResourcesReceivingAccess property (List).
-
#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
#access_rules ⇒ Object
returns the AccessRules property
10 11 12 |
# File 'lib/humidifier/magic.rb', line 10 def access_rules properties['access_rules'] end |
#access_rules=(value) ⇒ Object
sets the AccessRules property (Structure)
15 16 17 |
# File 'lib/humidifier/magic.rb', line 15 def access_rules=(value) update_property('access_rules', value) end |
#bucket_name ⇒ Object
returns the BucketName property
20 21 22 |
# File 'lib/humidifier/magic.rb', line 20 def bucket_name properties['bucket_name'] end |
#bucket_name=(value) ⇒ Object
sets the BucketName property (String)
25 26 27 |
# File 'lib/humidifier/magic.rb', line 25 def bucket_name=(value) update_property('bucket_name', value) end |
#bundle_id ⇒ Object
returns the BundleId property
30 31 32 |
# File 'lib/humidifier/magic.rb', line 30 def bundle_id properties['bundle_id'] end |
#bundle_id=(value) ⇒ Object
sets the BundleId property (String)
35 36 37 |
# File 'lib/humidifier/magic.rb', line 35 def bundle_id=(value) update_property('bundle_id', value) end |
#object_versioning ⇒ Object
returns the ObjectVersioning property
40 41 42 |
# File 'lib/humidifier/magic.rb', line 40 def object_versioning properties['object_versioning'] end |
#object_versioning=(value) ⇒ Object
sets the ObjectVersioning property (Boolean)
45 46 47 |
# File 'lib/humidifier/magic.rb', line 45 def object_versioning=(value) update_property('object_versioning', value) end |
#read_only_access_accounts ⇒ Object
returns the ReadOnlyAccessAccounts property
50 51 52 |
# File 'lib/humidifier/magic.rb', line 50 def read_only_access_accounts properties['read_only_access_accounts'] end |
#read_only_access_accounts=(value) ⇒ Object
sets the ReadOnlyAccessAccounts property (List)
55 56 57 |
# File 'lib/humidifier/magic.rb', line 55 def read_only_access_accounts=(value) update_property('read_only_access_accounts', value) end |
#resources_receiving_access ⇒ Object
returns the ResourcesReceivingAccess property
60 61 62 |
# File 'lib/humidifier/magic.rb', line 60 def resources_receiving_access properties['resources_receiving_access'] end |
#resources_receiving_access=(value) ⇒ Object
sets the ResourcesReceivingAccess property (List)
65 66 67 |
# File 'lib/humidifier/magic.rb', line 65 def resources_receiving_access=(value) update_property('resources_receiving_access', value) end |
#tags ⇒ Object
returns the Tags property
70 71 72 |
# File 'lib/humidifier/magic.rb', line 70 def properties['tags'] end |
#tags=(value) ⇒ Object
sets the Tags property (List)
75 76 77 |
# File 'lib/humidifier/magic.rb', line 75 def (value) update_property('tags', value) end |