public class SnapshotPolicy extends Object implements Comparable<SnapshotPolicy>
Modifier and Type | Class and Description |
---|---|
static class |
SnapshotPolicy.Builder |
Constructor and Description |
---|
SnapshotPolicy(long id,
Snapshot.Interval interval,
long numberToRetain,
String schedule,
String timezone,
long volumeId) |
Modifier and Type | Method and Description |
---|---|
static SnapshotPolicy.Builder |
builder() |
int |
compareTo(SnapshotPolicy other) |
boolean |
equals(Object o) |
long |
getId() |
Snapshot.Interval |
getInterval() |
long |
getNumberToRetain() |
String |
getSchedule() |
String |
getTimezone() |
long |
getVolumeId() |
int |
hashCode() |
String |
toString() |
public SnapshotPolicy(long id, Snapshot.Interval interval, long numberToRetain, String schedule, String timezone, long volumeId)
public static SnapshotPolicy.Builder builder()
public long getId()
public Snapshot.Interval getInterval()
public long getNumberToRetain()
public String getSchedule()
public String getTimezone()
public long getVolumeId()
public int compareTo(SnapshotPolicy other)
compareTo
in interface Comparable<SnapshotPolicy>
Copyright © 2009-2012 jclouds. All Rights Reserved.