code: public void marshall(Integration integration, ProtocolMarshaller protocolMarshaller) {
  
          if (integration == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(integration.getType(), TYPE_BINDING);
              protocolMarshaller.marshall(integration.getHttpMethod(), HTTPMETHOD_BINDING);
              protocolMarshaller.marshall(integration.getUri(), URI_BINDING);
              protocolMarshaller.marshall(integration.getConnectionType(), CONNECTIONTYPE_BINDING);
              protocolMarshaller.marshall(integration.getConnectionId(), CONNECTIONID_BINDING);
              protocolMarshaller.marshall(integration.getCredentials(), CREDENTIALS_BINDING);
              protocolMarshaller.marshall(integration.getRequestParameters(), REQUESTPARAMETERS_BINDING);
              protocolMarshaller.marshall(integration.getRequestTemplates(), REQUESTTEMPLATES_BINDING);
              protocolMarshaller.marshall(integration.getPassthroughBehavior(), PASSTHROUGHBEHAVIOR_BINDING);
              protocolMarshaller.marshall(integration.getContentHandling(), CONTENTHANDLING_BINDING);
              protocolMarshaller.marshall(integration.getTimeoutInMillis(), TIMEOUTINMILLIS_BINDING);
              protocolMarshaller.marshall(integration.getCacheNamespace(), CACHENAMESPACE_BINDING);
              protocolMarshaller.marshall(integration.getCacheKeyParameters(), CACHEKEYPARAMETERS_BINDING);
              protocolMarshaller.marshall(integration.getIntegrationResponses(), INTEGRATIONRESPONSES_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.