Class Snapshot

    • Constructor Detail

      • Snapshot

        public Snapshot()
    • Method Detail

      • getName

        public String getName()
        Returns:
        the snapshotName
      • setName

        public void setName​(String name)
        Parameters:
        name - the snapshotName to set
      • getDescription

        public String getDescription()
        Returns:
        the description
      • setDescription

        public void setDescription​(String description)
        Parameters:
        description - the description to set
      • getSnapshotDate

        public Date getSnapshotDate()
        Returns:
        the snapshotDate
      • setSnapshotDate

        public void setSnapshotDate​(Date snapshotDate)
        Parameters:
        snapshotDate - the snapshotDate to set
      • getStartDate

        public Date getStartDate()
        Returns:
        the startDate
      • setStartDate

        public void setStartDate​(Date startDate)
        Parameters:
        startDate - the startDate to set
      • getEndDate

        public Date getEndDate()
        Returns:
        the endDate
      • setEndDate

        public void setEndDate​(Date endDate)
        Parameters:
        endDate - the endDate to set
      • getStatus

        public org.duracloud.snapshot.dto.SnapshotStatus getStatus()
        Returns:
        the status
      • setStatus

        public void setStatus​(org.duracloud.snapshot.dto.SnapshotStatus status)
        Parameters:
        status - the status to set
      • getSnapshotHistory

        public List<SnapshotHistory> getSnapshotHistory()
        Returns:
        list of history entries for a snapshot
      • setSnapshotHistory

        public void setSnapshotHistory​(List<SnapshotHistory> snapshotHistory)
        Parameters:
        snapshotHistory - - list of history entries for a snapshot
      • getSnapshotAlternateIds

        public List<String> getSnapshotAlternateIds()
        Returns:
        list of alternate id's for a snapshot
      • addSnapshotAlternateIds

        public void addSnapshotAlternateIds​(List<String> snapshotAlternateIds)
        Parameters:
        snapshotAlternateIds -
      • getStatusText

        public String getStatusText()
        Returns:
        the statusText
      • setStatusText

        public void setStatusText​(String statusText)
        Parameters:
        statusText - the statusText to set
      • getUserEmail

        public String getUserEmail()
        Returns:
        the userEmail
      • setUserEmail

        public void setUserEmail​(String userEmail)
        Parameters:
        userEmail - the userEmail to set
      • getTotalSizeInBytes

        public Long getTotalSizeInBytes()
        Returns:
        the totalSizeInBytes
      • setTotalSizeInBytes

        public void setTotalSizeInBytes​(Long totalSizeInBytes)
        Parameters:
        totalSizeInBytes - the totalSizeInBytes to set
      • getMemberId

        public String getMemberId()
        Returns:
        the preservation network member id
      • setMemberId

        public void setMemberId​(String memberId)
        Parameters:
        memberId - the preservation network id to set