org.jclouds.slicehost.domain
Class Backup

java.lang.Object
  extended by org.jclouds.slicehost.domain.Backup

public class Backup
extends Object

Author:
Adrian Cole

Constructor Summary
Backup(int id, String name, String sliceId, Date date)
           
 
Method Summary
 boolean equals(Object obj)
           
 Date getDate()
           
 int getId()
           
 String getName()
           
 String getSliceId()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Backup

public Backup(int id,
              String name,
              String sliceId,
              Date date)
Method Detail

getId

public int getId()
Returns:
id of the backup

getName

public String getName()
Returns:
Examples: weekly, my snapshot

getSliceId

public String getSliceId()
Returns:
The Slice this backup was made from

getDate

public Date getDate()
Returns:
The time the backup was taken

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2012 jclouds. All Rights Reserved.