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