Class CheckpointUserData

  • All Implemented Interfaces:
    java.io.Serializable

    public class CheckpointUserData
    extends java.lang.Object
    implements java.io.Serializable
    Checkpoint data representing the state of the basic system export job
    See Also:
    Serialized Form
    • Constructor Detail

      • CheckpointUserData

        public CheckpointUserData()
    • Method Detail

      • getFromLastModified

        public java.time.Instant getFromLastModified()
        Returns:
        the fromLastModified
      • setFromLastModified

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

        public java.lang.String getUploadId()
        Returns:
        the uploadId
      • setUploadId

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

        public java.util.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​(java.util.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 java.lang.String getCurrentObjectName()
        Returns:
        the currentObjectName
      • setCurrentObjectName

        public void setCurrentObjectName​(java.lang.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 java.util.List<java.lang.Long> getResourcesForLastTimestamp()
        Returns:
        the resourcesForLastTimestamp
      • setResourcesForLastTimestamp

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

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

        public void setResourceCounts​(java.util.Collection<java.lang.Integer> resourceCounts)
      • getResourceType

        public java.lang.String getResourceType()
        Returns:
        the resourceType
      • setResourceType

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