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