Class: Humidifier::GuardDuty::Master

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

Overview

A dynamically-defined class that represents an AWS::GuardDuty::Master resource

AWS 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

#detector_idObject

returns the DetectorId property

[View source]

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

def detector_id
  properties['detector_id']
end

#detector_id=(value) ⇒ Object

sets the DetectorId property (String)

[View source]

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

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

#invitation_idObject

returns the InvitationId property

[View source]

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

def invitation_id
  properties['invitation_id']
end

#invitation_id=(value) ⇒ Object

sets the InvitationId property (String)

[View source]

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

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

#master_idObject

returns the MasterId property

[View source]

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

def master_id
  properties['master_id']
end

#master_id=(value) ⇒ Object

sets the MasterId property (String)

[View source]

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

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