Class: Humidifier::LicenseManager::License

Inherits:
Resource
  • Object
show all
Defined in:
lib/humidifier/magic.rb

Overview

A dynamically-defined class that represents an AWS::LicenseManager::License resource

Constant Summary

Constants inherited from Resource

Resource::COMMON_ATTRIBUTES

Instance Method Summary collapse

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

#beneficiaryObject

returns the Beneficiary property



10
11
12
# File 'lib/humidifier/magic.rb', line 10

def beneficiary
  properties['beneficiary']
end

#beneficiary=(value) ⇒ Object

sets the Beneficiary property (String)



15
16
17
# File 'lib/humidifier/magic.rb', line 15

def beneficiary=(value)
  update_property('beneficiary', value)
end

#consumption_configurationObject

returns the ConsumptionConfiguration property



20
21
22
# File 'lib/humidifier/magic.rb', line 20

def consumption_configuration
  properties['consumption_configuration']
end

#consumption_configuration=(value) ⇒ Object

sets the ConsumptionConfiguration property (Structure)



25
26
27
# File 'lib/humidifier/magic.rb', line 25

def consumption_configuration=(value)
  update_property('consumption_configuration', value)
end

#entitlementsObject

returns the Entitlements property



30
31
32
# File 'lib/humidifier/magic.rb', line 30

def entitlements
  properties['entitlements']
end

#entitlements=(value) ⇒ Object

sets the Entitlements property (List)



35
36
37
# File 'lib/humidifier/magic.rb', line 35

def entitlements=(value)
  update_property('entitlements', value)
end

#home_regionObject

returns the HomeRegion property



40
41
42
# File 'lib/humidifier/magic.rb', line 40

def home_region
  properties['home_region']
end

#home_region=(value) ⇒ Object

sets the HomeRegion property (String)



45
46
47
# File 'lib/humidifier/magic.rb', line 45

def home_region=(value)
  update_property('home_region', value)
end

#issuerObject

returns the Issuer property



50
51
52
# File 'lib/humidifier/magic.rb', line 50

def issuer
  properties['issuer']
end

#issuer=(value) ⇒ Object

sets the Issuer property (Structure)



55
56
57
# File 'lib/humidifier/magic.rb', line 55

def issuer=(value)
  update_property('issuer', value)
end

#license_metadataObject

returns the LicenseMetadata property



60
61
62
# File 'lib/humidifier/magic.rb', line 60

def 
  properties['license_metadata']
end

#license_metadata=(value) ⇒ Object

sets the LicenseMetadata property (List)



65
66
67
# File 'lib/humidifier/magic.rb', line 65

def license_metadata=(value)
  update_property('license_metadata', value)
end

#license_nameObject

returns the LicenseName property



70
71
72
# File 'lib/humidifier/magic.rb', line 70

def license_name
  properties['license_name']
end

#license_name=(value) ⇒ Object

sets the LicenseName property (String)



75
76
77
# File 'lib/humidifier/magic.rb', line 75

def license_name=(value)
  update_property('license_name', value)
end

#product_nameObject

returns the ProductName property



80
81
82
# File 'lib/humidifier/magic.rb', line 80

def product_name
  properties['product_name']
end

#product_name=(value) ⇒ Object

sets the ProductName property (String)



85
86
87
# File 'lib/humidifier/magic.rb', line 85

def product_name=(value)
  update_property('product_name', value)
end

#product_skuObject

returns the ProductSKU property



90
91
92
# File 'lib/humidifier/magic.rb', line 90

def product_sku
  properties['product_sku']
end

#product_sku=(value) ⇒ Object

sets the ProductSKU property (String)



95
96
97
# File 'lib/humidifier/magic.rb', line 95

def product_sku=(value)
  update_property('product_sku', value)
end

#statusObject

returns the Status property



100
101
102
# File 'lib/humidifier/magic.rb', line 100

def status
  properties['status']
end

#status=(value) ⇒ Object

sets the Status property (String)



105
106
107
# File 'lib/humidifier/magic.rb', line 105

def status=(value)
  update_property('status', value)
end

#validityObject

returns the Validity property



110
111
112
# File 'lib/humidifier/magic.rb', line 110

def validity
  properties['validity']
end

#validity=(value) ⇒ Object

sets the Validity property (Structure)



115
116
117
# File 'lib/humidifier/magic.rb', line 115

def validity=(value)
  update_property('validity', value)
end