code: public void marshall(BehaviorCriteria behaviorCriteria, ProtocolMarshaller protocolMarshaller) {
  
          if (behaviorCriteria == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(behaviorCriteria.getComparisonOperator(), COMPARISONOPERATOR_BINDING);
              protocolMarshaller.marshall(behaviorCriteria.getValue(), VALUE_BINDING);
              protocolMarshaller.marshall(behaviorCriteria.getDurationSeconds(), DURATIONSECONDS_BINDING);
              protocolMarshaller.marshall(behaviorCriteria.getConsecutiveDatapointsToAlarm(), CONSECUTIVEDATAPOINTSTOALARM_BINDING);
              protocolMarshaller.marshall(behaviorCriteria.getConsecutiveDatapointsToClear(), CONSECUTIVEDATAPOINTSTOCLEAR_BINDING);
              protocolMarshaller.marshall(behaviorCriteria.getStatisticalThreshold(), STATISTICALTHRESHOLD_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.