类 Snapshot

java.lang.Object
com.obs.services.model.Snapshot

public class Snapshot extends Object
Represents a snapshot
  • 构造器详细资料

    • Snapshot

      public Snapshot()
    • Snapshot

      public Snapshot(String snapshotName, Date modifyTime, String snapshotID)
  • 方法详细资料

    • getSnapshotName

      public String getSnapshotName()
      Obtain the snapshot name.
      返回:
      Snapshot name
    • setSnapshotName

      public void setSnapshotName(String snapshotName)
      Set the snapshot name.
      参数:
      snapshotName - Snapshot name
    • getModifyTime

      public Date getModifyTime()
      Obtain the modify time.
      返回:
      Modify time
    • setModifyTime

      public void setModifyTime(Date modifyTime)
      Set the modify time.
      参数:
      modifyTime - Modify time
    • getSnapshotID

      public String getSnapshotID()
      Obtain the snapshot ID.
      返回:
      Snapshot ID
    • setSnapshotID

      public void setSnapshotID(String snapshotID)
      Set the snapshot ID.
      参数:
      snapshotID - Snapshot ID
    • toString

      public String toString()
      覆盖:
      toString 在类中 Object
    • equals

      public boolean equals(Object obj)
      覆盖:
      equals 在类中 Object
    • hashCode

      public int hashCode()
      覆盖:
      hashCode 在类中 Object