code: public void marshall(ChannelSummary channelSummary, ProtocolMarshaller protocolMarshaller) {
  
          if (channelSummary == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(channelSummary.getArn(), ARN_BINDING);
              protocolMarshaller.marshall(channelSummary.getChannelClass(), CHANNELCLASS_BINDING);
              protocolMarshaller.marshall(channelSummary.getDestinations(), DESTINATIONS_BINDING);
              protocolMarshaller.marshall(channelSummary.getEgressEndpoints(), EGRESSENDPOINTS_BINDING);
              protocolMarshaller.marshall(channelSummary.getId(), ID_BINDING);
              protocolMarshaller.marshall(channelSummary.getInputAttachments(), INPUTATTACHMENTS_BINDING);
              protocolMarshaller.marshall(channelSummary.getInputSpecification(), INPUTSPECIFICATION_BINDING);
              protocolMarshaller.marshall(channelSummary.getLogLevel(), LOGLEVEL_BINDING);
              protocolMarshaller.marshall(channelSummary.getName(), NAME_BINDING);
              protocolMarshaller.marshall(channelSummary.getPipelinesRunningCount(), PIPELINESRUNNINGCOUNT_BINDING);
              protocolMarshaller.marshall(channelSummary.getRoleArn(), ROLEARN_BINDING);
              protocolMarshaller.marshall(channelSummary.getState(), STATE_BINDING);
              protocolMarshaller.marshall(channelSummary.getTags(), TAGS_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.