org.jclouds.cloudservers.domain
Class BackupSchedule
java.lang.Object
org.jclouds.cloudservers.domain.BackupSchedule
public class BackupSchedule
- extends Object
A backup schedule can be defined to create server images at regular intervals (daily and weekly).
Backup schedules are configurable per server.
- Author:
- Adrian Cole
daily
protected DailyBackup daily
enabled
protected boolean enabled
weekly
protected WeeklyBackup weekly
BackupSchedule
public BackupSchedule()
BackupSchedule
public BackupSchedule(WeeklyBackup weekly,
DailyBackup daily,
boolean enabled)
getDaily
public DailyBackup getDaily()
setDaily
public void setDaily(DailyBackup value)
isEnabled
public boolean isEnabled()
setEnabled
public void setEnabled(boolean value)
getWeekly
public WeeklyBackup getWeekly()
setWeekly
public void setWeekly(WeeklyBackup value)
toString
public String toString()
- Overrides:
toString
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
Copyright © 2009-2012 jclouds. All Rights Reserved.