Class: Humidifier::Redshift::ScheduledAction

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

Overview

A dynamically-defined class that represents an AWS::Redshift::ScheduledAction resource

Constant Summary

Constants inherited from Humidifier::Resource

Humidifier::Resource::COMMON_ATTRIBUTES

Instance Method Summary collapse

Methods inherited from Humidifier::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

#enableObject

returns the Enable property



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

def enable
  properties['enable']
end

#enable=(value) ⇒ Object

sets the Enable property (Boolean)



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

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

#end_timeObject

returns the EndTime property



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

def end_time
  properties['end_time']
end

#end_time=(value) ⇒ Object

sets the EndTime property (String)



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

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

#iam_roleObject

returns the IamRole property



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

def iam_role
  properties['iam_role']
end

#iam_role=(value) ⇒ Object

sets the IamRole property (String)



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

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

#scheduleObject

returns the Schedule property



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

def schedule
  properties['schedule']
end

#schedule=(value) ⇒ Object

sets the Schedule property (String)



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

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

#scheduled_action_descriptionObject

returns the ScheduledActionDescription property



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

def scheduled_action_description
  properties['scheduled_action_description']
end

#scheduled_action_description=(value) ⇒ Object

sets the ScheduledActionDescription property (String)



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

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

#scheduled_action_nameObject

returns the ScheduledActionName property



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

def scheduled_action_name
  properties['scheduled_action_name']
end

#scheduled_action_name=(value) ⇒ Object

sets the ScheduledActionName property (String)



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

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

#start_timeObject

returns the StartTime property



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

def start_time
  properties['start_time']
end

#start_time=(value) ⇒ Object

sets the StartTime property (String)



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

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

#target_actionObject

returns the TargetAction property



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

def target_action
  properties['target_action']
end

#target_action=(value) ⇒ Object

sets the TargetAction property (Structure)



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

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