code: public void marshall(ActiveViolation activeViolation, ProtocolMarshaller protocolMarshaller) {
  
          if (activeViolation == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(activeViolation.getViolationId(), VIOLATIONID_BINDING);
              protocolMarshaller.marshall(activeViolation.getThingName(), THINGNAME_BINDING);
              protocolMarshaller.marshall(activeViolation.getSecurityProfileName(), SECURITYPROFILENAME_BINDING);
              protocolMarshaller.marshall(activeViolation.getBehavior(), BEHAVIOR_BINDING);
              protocolMarshaller.marshall(activeViolation.getLastViolationValue(), LASTVIOLATIONVALUE_BINDING);
              protocolMarshaller.marshall(activeViolation.getLastViolationTime(), LASTVIOLATIONTIME_BINDING);
              protocolMarshaller.marshall(activeViolation.getViolationStartTime(), VIOLATIONSTARTTIME_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.