code: public void marshall(ExtendedS3DestinationDescription extendedS3DestinationDescription, ProtocolMarshaller protocolMarshaller) {
  
          if (extendedS3DestinationDescription == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(extendedS3DestinationDescription.getRoleARN(), ROLEARN_BINDING);
              protocolMarshaller.marshall(extendedS3DestinationDescription.getBucketARN(), BUCKETARN_BINDING);
              protocolMarshaller.marshall(extendedS3DestinationDescription.getPrefix(), PREFIX_BINDING);
              protocolMarshaller.marshall(extendedS3DestinationDescription.getErrorOutputPrefix(), ERROROUTPUTPREFIX_BINDING);
              protocolMarshaller.marshall(extendedS3DestinationDescription.getBufferingHints(), BUFFERINGHINTS_BINDING);
              protocolMarshaller.marshall(extendedS3DestinationDescription.getCompressionFormat(), COMPRESSIONFORMAT_BINDING);
              protocolMarshaller.marshall(extendedS3DestinationDescription.getEncryptionConfiguration(), ENCRYPTIONCONFIGURATION_BINDING);
              protocolMarshaller.marshall(extendedS3DestinationDescription.getCloudWatchLoggingOptions(), CLOUDWATCHLOGGINGOPTIONS_BINDING);
              protocolMarshaller.marshall(extendedS3DestinationDescription.getProcessingConfiguration(), PROCESSINGCONFIGURATION_BINDING);
              protocolMarshaller.marshall(extendedS3DestinationDescription.getS3BackupMode(), S3BACKUPMODE_BINDING);
              protocolMarshaller.marshall(extendedS3DestinationDescription.getS3BackupDescription(), S3BACKUPDESCRIPTION_BINDING);
              protocolMarshaller.marshall(extendedS3DestinationDescription.getDataFormatConversionConfiguration(), DATAFORMATCONVERSIONCONFIGURATION_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.