Class PreSignedUrlConvertDocumentResponse.Builder
java.lang.Object
ai.docling.serve.api.convert.response.PreSignedUrlConvertDocumentResponse.Builder
- Enclosing class:
- PreSignedUrlConvertDocumentResponse
Builder for creating
PreSignedUrlConvertDocumentResponse instances.
Generated by Lombok's @Builder annotation.
Builder methods:
processingTime(Double)- Set the total processing time in secondsnumConverted(Integer)- Set the number of attempted conversionsnumSucceeded(Integer)- Set the number of successful conversionsnumFailed(Integer)- Set the number of failed conversions
-
Method Summary
Modifier and TypeMethodDescription@NonNull PreSignedUrlConvertDocumentResponsebuild()numConverted(Integer numConverted) Number of attempted conversionsNumber of failed conversionsnumSucceeded(Integer numSucceeded) Number of successful conversionsprocessingTime(Double processingTime) Total processing time in seconds.@NonNull StringtoString()
-
Method Details
-
processingTime
Total processing time in seconds.- Parameters:
processingTime- the processing time in seconds- Returns:
this.
-
numConverted
Number of attempted conversions- Parameters:
num_converted- the number of attempted conversions- Returns:
this.
-
numSucceeded
Number of successful conversions- Parameters:
numSucceeded- the number of successful conversions- Returns:
this.
-
numFailed
Number of failed conversions- Parameters:
numFailed- the number of failed conversions- Returns:
this.
-
build
-
toString
-