code: public void marshall(CreateRequestValidatorRequest createRequestValidatorRequest, ProtocolMarshaller protocolMarshaller) {
  
          if (createRequestValidatorRequest == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(createRequestValidatorRequest.getRestApiId(), RESTAPIID_BINDING);
              protocolMarshaller.marshall(createRequestValidatorRequest.getName(), NAME_BINDING);
              protocolMarshaller.marshall(createRequestValidatorRequest.getValidateRequestBody(), VALIDATEREQUESTBODY_BINDING);
              protocolMarshaller.marshall(createRequestValidatorRequest.getValidateRequestParameters(), VALIDATEREQUESTPARAMETERS_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.