    # File lib/fog/aws/models/compute/server.rb, line 230
            def monitor=(new_monitor)
              if persisted?
                case new_monitor
                when true
                  response = service.monitor_instances(identity)
                when false
                  response = service.unmonitor_instances(identity)
                else
                  raise ArgumentError.new("only Boolean allowed here")
                end
              end
              self.monitoring = new_monitor
            end