code: public void marshall(Notification notification, ProtocolMarshaller protocolMarshaller) {
  
          if (notification == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(notification.getNotificationType(), NOTIFICATIONTYPE_BINDING);
              protocolMarshaller.marshall(notification.getComparisonOperator(), COMPARISONOPERATOR_BINDING);
              protocolMarshaller.marshall(notification.getThreshold(), THRESHOLD_BINDING);
              protocolMarshaller.marshall(notification.getThresholdType(), THRESHOLDTYPE_BINDING);
              protocolMarshaller.marshall(notification.getNotificationState(), NOTIFICATIONSTATE_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.