Class StoragePutRequest


  • public class StoragePutRequest
    extends StorageObjectRequest
    Holds every needed parameters that may be needed to put an object on the distant storage offer.
    • Constructor Summary

      Constructors 
      Constructor Description
      StoragePutRequest​(java.lang.Integer tenantId, java.lang.String type, java.lang.String guid, java.lang.String digestAlgorithm, java.io.InputStream dataStream)
      Initialize the needed parameters for put requests of an object.
    • Constructor Detail

      • StoragePutRequest

        public StoragePutRequest​(java.lang.Integer tenantId,
                                 java.lang.String type,
                                 java.lang.String guid,
                                 java.lang.String digestAlgorithm,
                                 java.io.InputStream dataStream)
        Initialize the needed parameters for put requests of an object.
        Parameters:
        tenantId - request tenantId
        type - the type
        guid - the object guid
        digestAlgorithm - the object digestAlgorithm
        dataStream - data stream of the object to put in offer
    • Method Detail

      • getDigestAlgorithm

        public java.lang.String getDigestAlgorithm()
        Gets the digestAlgorithm
        Returns:
        the digestAlgorithm
      • getDataStream

        public java.io.InputStream getDataStream()
        Gets the dataStream
        Returns:
        the dataStream
      • getSize

        public long getSize()
      • setSize

        public void setSize​(long size)