code: public void marshall(VoiceConnector voiceConnector, ProtocolMarshaller protocolMarshaller) {
  
          if (voiceConnector == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(voiceConnector.getVoiceConnectorId(), VOICECONNECTORID_BINDING);
              protocolMarshaller.marshall(voiceConnector.getName(), NAME_BINDING);
              protocolMarshaller.marshall(voiceConnector.getOutboundHostName(), OUTBOUNDHOSTNAME_BINDING);
              protocolMarshaller.marshall(voiceConnector.getRequireEncryption(), REQUIREENCRYPTION_BINDING);
              protocolMarshaller.marshall(voiceConnector.getCreatedTimestamp(), CREATEDTIMESTAMP_BINDING);
              protocolMarshaller.marshall(voiceConnector.getUpdatedTimestamp(), UPDATEDTIMESTAMP_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.