code: public void marshall(SplunkDestinationUpdate splunkDestinationUpdate, ProtocolMarshaller protocolMarshaller) {
  
          if (splunkDestinationUpdate == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(splunkDestinationUpdate.getHECEndpoint(), HECENDPOINT_BINDING);
              protocolMarshaller.marshall(splunkDestinationUpdate.getHECEndpointType(), HECENDPOINTTYPE_BINDING);
              protocolMarshaller.marshall(splunkDestinationUpdate.getHECToken(), HECTOKEN_BINDING);
              protocolMarshaller.marshall(splunkDestinationUpdate.getHECAcknowledgmentTimeoutInSeconds(), HECACKNOWLEDGMENTTIMEOUTINSECONDS_BINDING);
              protocolMarshaller.marshall(splunkDestinationUpdate.getRetryOptions(), RETRYOPTIONS_BINDING);
              protocolMarshaller.marshall(splunkDestinationUpdate.getS3BackupMode(), S3BACKUPMODE_BINDING);
              protocolMarshaller.marshall(splunkDestinationUpdate.getS3Update(), S3UPDATE_BINDING);
              protocolMarshaller.marshall(splunkDestinationUpdate.getProcessingConfiguration(), PROCESSINGCONFIGURATION_BINDING);
              protocolMarshaller.marshall(splunkDestinationUpdate.getCloudWatchLoggingOptions(), CLOUDWATCHLOGGINGOPTIONS_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.