Class PreSignedUrlConvertResponse


public final class PreSignedUrlConvertResponse extends ConvertDocumentResponse
Response for document conversions that target server-managed presigned URLs.

This response type is returned when the conversion request specifies a PresignedUrlTarget. Each source document is represented by a DocumentArtifactItem in documents which carries its conversion outcome and the list of presigned URLs the server produced for the requested output formats.

Serialization uses JsonInclude.Include.NON_EMPTY, so nulls and empty collections/strings are omitted from JSON output.

See Also:
  • Method Details

    • getResponseType

      public ResponseType getResponseType()
      Description copied from class: ConvertDocumentResponse
      Type of response
      Specified by:
      getResponseType in class ConvertDocumentResponse
      Returns:
      the response type
    • builder

      public static @NonNull PreSignedUrlConvertResponse.Builder builder()
    • toBuilder

      public @NonNull PreSignedUrlConvertResponse.Builder toBuilder()
    • getProcessingTime

      public Double getProcessingTime()
      Total processing time in seconds.
      Returns:
      the processing time in seconds
    • getNumConverted

      public Integer getNumConverted()
      Number of attempted conversions.
      Returns:
      the number of attempted conversions
    • getNumSucceeded

      public Integer getNumSucceeded()
      Number of successful conversions.
      Returns:
      the number of successful conversions
    • getNumPartiallySucceeded

      public Integer getNumPartiallySucceeded()
      Number of partial successes.
      Returns:
      the number of partial successes
    • getNumFailed

      public Integer getNumFailed()
      Number of failed conversions.
      Returns:
      the number of failed conversions
    • getDocuments

      public List<DocumentArtifactItem> getDocuments()
      Per-source conversion outcomes and presigned artifact URLs.
      Returns:
      the list of per-source artifact items
    • toString

      public @NonNull String toString()
      Overrides:
      toString in class Object