code: public void marshall(Source source, ProtocolMarshaller protocolMarshaller) {
  
          if (source == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(source.getDecryption(), DECRYPTION_BINDING);
              protocolMarshaller.marshall(source.getDescription(), DESCRIPTION_BINDING);
              protocolMarshaller.marshall(source.getEntitlementArn(), ENTITLEMENTARN_BINDING);
              protocolMarshaller.marshall(source.getIngestIp(), INGESTIP_BINDING);
              protocolMarshaller.marshall(source.getIngestPort(), INGESTPORT_BINDING);
              protocolMarshaller.marshall(source.getName(), NAME_BINDING);
              protocolMarshaller.marshall(source.getSourceArn(), SOURCEARN_BINDING);
              protocolMarshaller.marshall(source.getTransport(), TRANSPORT_BINDING);
              protocolMarshaller.marshall(source.getWhitelistCidr(), WHITELISTCIDR_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.