Class CheckpointUserData

    • Constructor Detail

      • CheckpointUserData

        public CheckpointUserData()
    • Method Detail

      • getFromLastModified

        public Instant getFromLastModified()
        Returns:
        the fromLastModified
      • setFromLastModified

        public void setFromLastModified​(Instant fromLastModified)
        Parameters:
        fromLastModified - the fromLastModified to set
      • getUploadId

        public String getUploadId()
        Returns:
        the uploadId
      • setUploadId

        public void setUploadId​(String uploadId)
        Parameters:
        uploadId - the uploadId to set
      • getUploadedParts

        public List<com.ibm.cloud.objectstorage.services.s3.model.PartETag> getUploadedParts()
        Getter for an immutable version of the upload result list
        Returns:
        a list of PartETag objects
      • setUploadedParts

        public void setUploadedParts​(Collection<com.ibm.cloud.objectstorage.services.s3.model.PartETag> parts)
        Replace uploadedParts with values from the given parts collection
        Parameters:
        parts -
      • getCurrentObjectSize

        public long getCurrentObjectSize()
        Returns:
        the currentObjectSize
      • setCurrentObjectSize

        public void setCurrentObjectSize​(long currentObjectSize)
        Parameters:
        currentObjectSize - the currentObjectSize to set
      • getCurrentObjectName

        public String getCurrentObjectName()
        Returns:
        the currentObjectName
      • setCurrentObjectName

        public void setCurrentObjectName​(String currentObjectName)
        Parameters:
        currentObjectName - the currentObjectName to set
      • getCurrentObjectResourceCount

        public int getCurrentObjectResourceCount()
        Returns:
        the currentObjectResourceCount
      • setCurrentObjectResourceCount

        public void setCurrentObjectResourceCount​(int currentObjectResourceCount)
        Parameters:
        currentObjectResourceCount - the currentObjectResourceCount to set
      • getCurrentUploadNumber

        public int getCurrentUploadNumber()
        Returns:
        the currentUploadNumber
      • setCurrentUploadNumber

        public void setCurrentUploadNumber​(int currentUploadNumber)
        Parameters:
        currentUploadNumber - the currentUploadNumber to set
      • getResourcesForLastTimestamp

        public List<Long> getResourcesForLastTimestamp()
        Returns:
        the resourcesForLastTimestamp
      • setResourcesForLastTimestamp

        public void setResourcesForLastTimestamp​(Collection<Long> resourcesForLastTimestamp)
        Parameters:
        resourcesForLastTimestamp - the resourcesForLastTimestamp to set
      • getResourceCounts

        public List<Integer> getResourceCounts()
        Get an immutable list of the resource counts for each file processed so far
        Returns:
      • setResourceCounts

        public void setResourceCounts​(Collection<Integer> resourceCounts)
      • getResourceType

        public String getResourceType()
        Returns:
        the resourceType
      • setResourceType

        public void setResourceType​(String resourceType)
        Parameters:
        resourceType - the resourceType to set