Class: Humidifier::Backup::BackupVault
- Defined in:
- lib/humidifier/magic.rb
Overview
A dynamically-defined class that represents an AWS::Backup::BackupVault resource
Constant Summary
Constants inherited from Resource
Instance Method Summary collapse
-
#access_policy ⇒ Object
returns the AccessPolicy property.
-
#access_policy=(value) ⇒ Object
sets the AccessPolicy property (Json).
-
#backup_vault_name ⇒ Object
returns the BackupVaultName property.
-
#backup_vault_name=(value) ⇒ Object
sets the BackupVaultName property (String).
-
#backup_vault_tags ⇒ Object
returns the BackupVaultTags property.
-
#backup_vault_tags=(value) ⇒ Object
sets the BackupVaultTags property (Map).
-
#encryption_key_arn ⇒ Object
returns the EncryptionKeyArn property.
-
#encryption_key_arn=(value) ⇒ Object
sets the EncryptionKeyArn property (String).
-
#lock_configuration ⇒ Object
returns the LockConfiguration property.
-
#lock_configuration=(value) ⇒ Object
sets the LockConfiguration property (Structure).
-
#notifications ⇒ Object
returns the Notifications property.
-
#notifications=(value) ⇒ Object
sets the Notifications property (Structure).
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_policy ⇒ Object
returns the AccessPolicy property
10 11 12 |
# File 'lib/humidifier/magic.rb', line 10 def access_policy properties['access_policy'] end |
#access_policy=(value) ⇒ Object
sets the AccessPolicy property (Json)
15 16 17 |
# File 'lib/humidifier/magic.rb', line 15 def access_policy=(value) update_property('access_policy', value) end |
#backup_vault_name ⇒ Object
returns the BackupVaultName property
20 21 22 |
# File 'lib/humidifier/magic.rb', line 20 def backup_vault_name properties['backup_vault_name'] end |
#backup_vault_name=(value) ⇒ Object
sets the BackupVaultName property (String)
25 26 27 |
# File 'lib/humidifier/magic.rb', line 25 def backup_vault_name=(value) update_property('backup_vault_name', value) end |
#backup_vault_tags ⇒ Object
returns the BackupVaultTags property
30 31 32 |
# File 'lib/humidifier/magic.rb', line 30 def properties['backup_vault_tags'] end |
#backup_vault_tags=(value) ⇒ Object
sets the BackupVaultTags property (Map)
35 36 37 |
# File 'lib/humidifier/magic.rb', line 35 def (value) update_property('backup_vault_tags', value) end |
#encryption_key_arn ⇒ Object
returns the EncryptionKeyArn property
40 41 42 |
# File 'lib/humidifier/magic.rb', line 40 def encryption_key_arn properties['encryption_key_arn'] end |
#encryption_key_arn=(value) ⇒ Object
sets the EncryptionKeyArn property (String)
45 46 47 |
# File 'lib/humidifier/magic.rb', line 45 def encryption_key_arn=(value) update_property('encryption_key_arn', value) end |
#lock_configuration ⇒ Object
returns the LockConfiguration property
50 51 52 |
# File 'lib/humidifier/magic.rb', line 50 def lock_configuration properties['lock_configuration'] end |
#lock_configuration=(value) ⇒ Object
sets the LockConfiguration property (Structure)
55 56 57 |
# File 'lib/humidifier/magic.rb', line 55 def lock_configuration=(value) update_property('lock_configuration', value) end |
#notifications ⇒ Object
returns the Notifications property
60 61 62 |
# File 'lib/humidifier/magic.rb', line 60 def notifications properties['notifications'] end |
#notifications=(value) ⇒ Object
sets the Notifications property (Structure)
65 66 67 |
# File 'lib/humidifier/magic.rb', line 65 def notifications=(value) update_property('notifications', value) end |