code: public void marshall(RedshiftDestinationDescription redshiftDestinationDescription, ProtocolMarshaller protocolMarshaller) {
  
          if (redshiftDestinationDescription == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(redshiftDestinationDescription.getRoleARN(), ROLEARN_BINDING);
              protocolMarshaller.marshall(redshiftDestinationDescription.getClusterJDBCURL(), CLUSTERJDBCURL_BINDING);
              protocolMarshaller.marshall(redshiftDestinationDescription.getCopyCommand(), COPYCOMMAND_BINDING);
              protocolMarshaller.marshall(redshiftDestinationDescription.getUsername(), USERNAME_BINDING);
              protocolMarshaller.marshall(redshiftDestinationDescription.getRetryOptions(), RETRYOPTIONS_BINDING);
              protocolMarshaller.marshall(redshiftDestinationDescription.getS3DestinationDescription(), S3DESTINATIONDESCRIPTION_BINDING);
              protocolMarshaller.marshall(redshiftDestinationDescription.getProcessingConfiguration(), PROCESSINGCONFIGURATION_BINDING);
              protocolMarshaller.marshall(redshiftDestinationDescription.getS3BackupMode(), S3BACKUPMODE_BINDING);
              protocolMarshaller.marshall(redshiftDestinationDescription.getS3BackupDescription(), S3BACKUPDESCRIPTION_BINDING);
              protocolMarshaller.marshall(redshiftDestinationDescription.getCloudWatchLoggingOptions(), CLOUDWATCHLOGGINGOPTIONS_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.