code: public void marshall(EmailChannelResponse emailChannelResponse, ProtocolMarshaller protocolMarshaller) {
  
          if (emailChannelResponse == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(emailChannelResponse.getApplicationId(), APPLICATIONID_BINDING);
              protocolMarshaller.marshall(emailChannelResponse.getConfigurationSet(), CONFIGURATIONSET_BINDING);
              protocolMarshaller.marshall(emailChannelResponse.getCreationDate(), CREATIONDATE_BINDING);
              protocolMarshaller.marshall(emailChannelResponse.getEnabled(), ENABLED_BINDING);
              protocolMarshaller.marshall(emailChannelResponse.getFromAddress(), FROMADDRESS_BINDING);
              protocolMarshaller.marshall(emailChannelResponse.getHasCredential(), HASCREDENTIAL_BINDING);
              protocolMarshaller.marshall(emailChannelResponse.getId(), ID_BINDING);
              protocolMarshaller.marshall(emailChannelResponse.getIdentity(), IDENTITY_BINDING);
              protocolMarshaller.marshall(emailChannelResponse.getIsArchived(), ISARCHIVED_BINDING);
              protocolMarshaller.marshall(emailChannelResponse.getLastModifiedBy(), LASTMODIFIEDBY_BINDING);
              protocolMarshaller.marshall(emailChannelResponse.getLastModifiedDate(), LASTMODIFIEDDATE_BINDING);
              protocolMarshaller.marshall(emailChannelResponse.getMessagesPerSecond(), MESSAGESPERSECOND_BINDING);
              protocolMarshaller.marshall(emailChannelResponse.getPlatform(), PLATFORM_BINDING);
              protocolMarshaller.marshall(emailChannelResponse.getRoleArn(), ROLEARN_BINDING);
              protocolMarshaller.marshall(emailChannelResponse.getVersion(), VERSION_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.