Class ServiceUploadDocument


  • public class ServiceUploadDocument
    extends java.lang.Object
    Input for to be uploaded document.
    • Constructor Detail

      • ServiceUploadDocument

        public ServiceUploadDocument()
    • Method Detail

      • getContentLength

        public java.math.BigDecimal getContentLength()
        The content length of the to-be-uploaded file minimum: 1 maximum: 5242880
        Returns:
        contentLength
      • setContentLength

        public void setContentLength​(java.math.BigDecimal contentLength)
      • getContentMD5

        public java.lang.String getContentMD5()
        An MD5 hash of the content to be submitted to the upload destination. This value is used to determine if the data has been corrupted or tampered with during transit.
        Returns:
        contentMD5
      • setContentMD5

        public void setContentMD5​(java.lang.String contentMD5)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object