Class: Humidifier::WorkSpaces::Workspace

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

Overview

A dynamically-defined class that represents an AWS::WorkSpaces::Workspace 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

#bundle_idObject

returns the BundleId property



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

def bundle_id
  properties['bundle_id']
end

#bundle_id=(value) ⇒ Object

sets the BundleId property (String)



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

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

#directory_idObject

returns the DirectoryId property



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

def directory_id
  properties['directory_id']
end

#directory_id=(value) ⇒ Object

sets the DirectoryId property (String)



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

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

#root_volume_encryption_enabledObject

returns the RootVolumeEncryptionEnabled property



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

def root_volume_encryption_enabled
  properties['root_volume_encryption_enabled']
end

#root_volume_encryption_enabled=(value) ⇒ Object

sets the RootVolumeEncryptionEnabled property (Boolean)



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

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

#tagsObject

returns the Tags property



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

def tags
  properties['tags']
end

#tags=(value) ⇒ Object

sets the Tags property (List)



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

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

#user_nameObject

returns the UserName property



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

def user_name
  properties['user_name']
end

#user_name=(value) ⇒ Object

sets the UserName property (String)



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

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

#user_volume_encryption_enabledObject

returns the UserVolumeEncryptionEnabled property



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

def user_volume_encryption_enabled
  properties['user_volume_encryption_enabled']
end

#user_volume_encryption_enabled=(value) ⇒ Object

sets the UserVolumeEncryptionEnabled property (Boolean)



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

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

#volume_encryption_keyObject

returns the VolumeEncryptionKey property



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

def volume_encryption_key
  properties['volume_encryption_key']
end

#volume_encryption_key=(value) ⇒ Object

sets the VolumeEncryptionKey property (String)



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

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

#workspace_propertiesObject

returns the WorkspaceProperties property



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

def workspace_properties
  properties['workspace_properties']
end

#workspace_properties=(value) ⇒ Object

sets the WorkspaceProperties property (Structure)



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

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