Class StoragePutResult


  • public class StoragePutResult
    extends StorageObjectResult
    Holds result data that come as a result of a request to put an object on the distant storage offer
    • Constructor Summary

      Constructors 
      Constructor Description
      StoragePutResult​(java.lang.Integer tenantId, java.lang.String type, java.lang.String guid, java.lang.String distantObjectId, java.lang.String digestHashBase16, long objectSize)
      Initialize the needed parameters for put results
    • Constructor Detail

      • StoragePutResult

        public StoragePutResult​(java.lang.Integer tenantId,
                                java.lang.String type,
                                java.lang.String guid,
                                java.lang.String distantObjectId,
                                java.lang.String digestHashBase16,
                                long objectSize)
        Initialize the needed parameters for put results
        Parameters:
        tenantId - The request tenantId
        type - the type The request type
        guid - the object guid
        distantObjectId - The distant object id
        digestHashBase16 - the object digest hash
        objectSize - size of the object
    • Method Detail

      • getDistantObjectId

        public java.lang.String getDistantObjectId()
        Returns:
        the object Id
      • getDigestHashBase16

        public java.lang.String getDigestHashBase16()
        Returns:
        the digest
      • getObjectSize

        public long getObjectSize()
        Returns:
        the object Size
      • toString

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