docs: public void marshall(ComplianceByResource complianceByResource, ProtocolMarshaller protocolMarshaller) {
  
          if (complianceByResource == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(complianceByResource.getResourceType(), RESOURCETYPE_BINDING);
              protocolMarshaller.marshall(complianceByResource.getResourceId(), RESOURCEID_BINDING);
              protocolMarshaller.marshall(complianceByResource.getCompliance(), COMPLIANCE_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }