Class: Humidifier::Lightsail::Database
- Defined in:
- lib/humidifier/magic.rb
Overview
A dynamically-defined class that represents an AWS::Lightsail::Database resource
Constant Summary
Constants inherited from Resource
Instance Method Summary collapse
-
#availability_zone ⇒ Object
returns the AvailabilityZone property.
-
#availability_zone=(value) ⇒ Object
sets the AvailabilityZone property (String).
-
#backup_retention ⇒ Object
returns the BackupRetention property.
-
#backup_retention=(value) ⇒ Object
sets the BackupRetention property (Boolean).
-
#ca_certificate_identifier ⇒ Object
returns the CaCertificateIdentifier property.
-
#ca_certificate_identifier=(value) ⇒ Object
sets the CaCertificateIdentifier property (String).
-
#master_database_name ⇒ Object
returns the MasterDatabaseName property.
-
#master_database_name=(value) ⇒ Object
sets the MasterDatabaseName property (String).
-
#master_user_password ⇒ Object
returns the MasterUserPassword property.
-
#master_user_password=(value) ⇒ Object
sets the MasterUserPassword property (String).
-
#master_username ⇒ Object
returns the MasterUsername property.
-
#master_username=(value) ⇒ Object
sets the MasterUsername property (String).
-
#preferred_backup_window ⇒ Object
returns the PreferredBackupWindow property.
-
#preferred_backup_window=(value) ⇒ Object
sets the PreferredBackupWindow property (String).
-
#preferred_maintenance_window ⇒ Object
returns the PreferredMaintenanceWindow property.
-
#preferred_maintenance_window=(value) ⇒ Object
sets the PreferredMaintenanceWindow property (String).
-
#publicly_accessible ⇒ Object
returns the PubliclyAccessible property.
-
#publicly_accessible=(value) ⇒ Object
sets the PubliclyAccessible property (Boolean).
-
#relational_database_blueprint_id ⇒ Object
returns the RelationalDatabaseBlueprintId property.
-
#relational_database_blueprint_id=(value) ⇒ Object
sets the RelationalDatabaseBlueprintId property (String).
-
#relational_database_bundle_id ⇒ Object
returns the RelationalDatabaseBundleId property.
-
#relational_database_bundle_id=(value) ⇒ Object
sets the RelationalDatabaseBundleId property (String).
-
#relational_database_name ⇒ Object
returns the RelationalDatabaseName property.
-
#relational_database_name=(value) ⇒ Object
sets the RelationalDatabaseName property (String).
-
#relational_database_parameters ⇒ Object
returns the RelationalDatabaseParameters property.
-
#relational_database_parameters=(value) ⇒ Object
sets the RelationalDatabaseParameters property (List).
-
#rotate_master_user_password ⇒ Object
returns the RotateMasterUserPassword property.
-
#rotate_master_user_password=(value) ⇒ Object
sets the RotateMasterUserPassword property (Boolean).
-
#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
#availability_zone ⇒ Object
returns the AvailabilityZone property
10 11 12 |
# File 'lib/humidifier/magic.rb', line 10 def availability_zone properties['availability_zone'] end |
#availability_zone=(value) ⇒ Object
sets the AvailabilityZone property (String)
15 16 17 |
# File 'lib/humidifier/magic.rb', line 15 def availability_zone=(value) update_property('availability_zone', value) end |
#backup_retention ⇒ Object
returns the BackupRetention property
20 21 22 |
# File 'lib/humidifier/magic.rb', line 20 def backup_retention properties['backup_retention'] end |
#backup_retention=(value) ⇒ Object
sets the BackupRetention property (Boolean)
25 26 27 |
# File 'lib/humidifier/magic.rb', line 25 def backup_retention=(value) update_property('backup_retention', value) end |
#ca_certificate_identifier ⇒ Object
returns the CaCertificateIdentifier property
30 31 32 |
# File 'lib/humidifier/magic.rb', line 30 def ca_certificate_identifier properties['ca_certificate_identifier'] end |
#ca_certificate_identifier=(value) ⇒ Object
sets the CaCertificateIdentifier property (String)
35 36 37 |
# File 'lib/humidifier/magic.rb', line 35 def ca_certificate_identifier=(value) update_property('ca_certificate_identifier', value) end |
#master_database_name ⇒ Object
returns the MasterDatabaseName property
40 41 42 |
# File 'lib/humidifier/magic.rb', line 40 def master_database_name properties['master_database_name'] end |
#master_database_name=(value) ⇒ Object
sets the MasterDatabaseName property (String)
45 46 47 |
# File 'lib/humidifier/magic.rb', line 45 def master_database_name=(value) update_property('master_database_name', value) end |
#master_user_password ⇒ Object
returns the MasterUserPassword property
50 51 52 |
# File 'lib/humidifier/magic.rb', line 50 def master_user_password properties['master_user_password'] end |
#master_user_password=(value) ⇒ Object
sets the MasterUserPassword property (String)
55 56 57 |
# File 'lib/humidifier/magic.rb', line 55 def master_user_password=(value) update_property('master_user_password', value) end |
#master_username ⇒ Object
returns the MasterUsername property
60 61 62 |
# File 'lib/humidifier/magic.rb', line 60 def master_username properties['master_username'] end |
#master_username=(value) ⇒ Object
sets the MasterUsername property (String)
65 66 67 |
# File 'lib/humidifier/magic.rb', line 65 def master_username=(value) update_property('master_username', value) end |
#preferred_backup_window ⇒ Object
returns the PreferredBackupWindow property
70 71 72 |
# File 'lib/humidifier/magic.rb', line 70 def preferred_backup_window properties['preferred_backup_window'] end |
#preferred_backup_window=(value) ⇒ Object
sets the PreferredBackupWindow property (String)
75 76 77 |
# File 'lib/humidifier/magic.rb', line 75 def preferred_backup_window=(value) update_property('preferred_backup_window', value) end |
#preferred_maintenance_window ⇒ Object
returns the PreferredMaintenanceWindow property
80 81 82 |
# File 'lib/humidifier/magic.rb', line 80 def preferred_maintenance_window properties['preferred_maintenance_window'] end |
#preferred_maintenance_window=(value) ⇒ Object
sets the PreferredMaintenanceWindow property (String)
85 86 87 |
# File 'lib/humidifier/magic.rb', line 85 def preferred_maintenance_window=(value) update_property('preferred_maintenance_window', value) end |
#publicly_accessible ⇒ Object
returns the PubliclyAccessible property
90 91 92 |
# File 'lib/humidifier/magic.rb', line 90 def publicly_accessible properties['publicly_accessible'] end |
#publicly_accessible=(value) ⇒ Object
sets the PubliclyAccessible property (Boolean)
95 96 97 |
# File 'lib/humidifier/magic.rb', line 95 def publicly_accessible=(value) update_property('publicly_accessible', value) end |
#relational_database_blueprint_id ⇒ Object
returns the RelationalDatabaseBlueprintId property
100 101 102 |
# File 'lib/humidifier/magic.rb', line 100 def relational_database_blueprint_id properties['relational_database_blueprint_id'] end |
#relational_database_blueprint_id=(value) ⇒ Object
sets the RelationalDatabaseBlueprintId property (String)
105 106 107 |
# File 'lib/humidifier/magic.rb', line 105 def relational_database_blueprint_id=(value) update_property('relational_database_blueprint_id', value) end |
#relational_database_bundle_id ⇒ Object
returns the RelationalDatabaseBundleId property
110 111 112 |
# File 'lib/humidifier/magic.rb', line 110 def relational_database_bundle_id properties['relational_database_bundle_id'] end |
#relational_database_bundle_id=(value) ⇒ Object
sets the RelationalDatabaseBundleId property (String)
115 116 117 |
# File 'lib/humidifier/magic.rb', line 115 def relational_database_bundle_id=(value) update_property('relational_database_bundle_id', value) end |
#relational_database_name ⇒ Object
returns the RelationalDatabaseName property
120 121 122 |
# File 'lib/humidifier/magic.rb', line 120 def relational_database_name properties['relational_database_name'] end |
#relational_database_name=(value) ⇒ Object
sets the RelationalDatabaseName property (String)
125 126 127 |
# File 'lib/humidifier/magic.rb', line 125 def relational_database_name=(value) update_property('relational_database_name', value) end |
#relational_database_parameters ⇒ Object
returns the RelationalDatabaseParameters property
130 131 132 |
# File 'lib/humidifier/magic.rb', line 130 def relational_database_parameters properties['relational_database_parameters'] end |
#relational_database_parameters=(value) ⇒ Object
sets the RelationalDatabaseParameters property (List)
135 136 137 |
# File 'lib/humidifier/magic.rb', line 135 def relational_database_parameters=(value) update_property('relational_database_parameters', value) end |
#rotate_master_user_password ⇒ Object
returns the RotateMasterUserPassword property
140 141 142 |
# File 'lib/humidifier/magic.rb', line 140 def rotate_master_user_password properties['rotate_master_user_password'] end |
#rotate_master_user_password=(value) ⇒ Object
sets the RotateMasterUserPassword property (Boolean)
145 146 147 |
# File 'lib/humidifier/magic.rb', line 145 def rotate_master_user_password=(value) update_property('rotate_master_user_password', value) end |
#tags ⇒ Object
returns the Tags property
150 151 152 |
# File 'lib/humidifier/magic.rb', line 150 def properties['tags'] end |
#tags=(value) ⇒ Object
sets the Tags property (List)
155 156 157 |
# File 'lib/humidifier/magic.rb', line 155 def (value) update_property('tags', value) end |