in deliverystream/src/main/java/com/amazonaws/kinesisfirehose/deliverystream/HandlerUtils.java [785:803]
static ExtendedS3DestinationUpdate translateExtendedS3DestinationUpdate (final ExtendedS3DestinationConfiguration extendedS3DestinationUpdate) {
if (extendedS3DestinationUpdate == null) {
return null;
}
return ExtendedS3DestinationUpdate.builder()
.bucketARN(extendedS3DestinationUpdate.getBucketARN())
.bufferingHints(translateBufferingHints(extendedS3DestinationUpdate.getBufferingHints()))
.cloudWatchLoggingOptions(translateCloudWatchLoggingOptions(extendedS3DestinationUpdate.getCloudWatchLoggingOptions()))
.compressionFormat(extendedS3DestinationUpdate.getCompressionFormat())
.encryptionConfiguration(translateEncryptionConfiguration(extendedS3DestinationUpdate.getEncryptionConfiguration()))
.prefix(extendedS3DestinationUpdate.getPrefix())
.roleARN(extendedS3DestinationUpdate.getRoleARN())
.processingConfiguration(translateProcessingConfiguration(extendedS3DestinationUpdate.getProcessingConfiguration()))
.s3BackupMode(extendedS3DestinationUpdate.getS3BackupMode())
.s3BackupUpdate(translateS3DestinationUpdate(extendedS3DestinationUpdate.getS3BackupConfiguration()))
.errorOutputPrefix(extendedS3DestinationUpdate.getErrorOutputPrefix())
.dataFormatConversionConfiguration(translateDataFormatConversionConfiguration(extendedS3DestinationUpdate.getDataFormatConversionConfiguration()))
.build();
}