public class SnapshotPolicy extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SnapshotPolicy.Builder<T extends SnapshotPolicy.Builder<T>> |
| Modifier | Constructor and Description |
|---|---|
protected |
SnapshotPolicy(String id,
Snapshot.Interval interval,
long numberToRetain,
String schedule,
String timezone,
String volumeId) |
| Modifier and Type | Method and Description |
|---|---|
static SnapshotPolicy.Builder<?> |
builder() |
boolean |
equals(Object obj) |
String |
getId() |
Snapshot.Interval |
getInterval() |
long |
getNumberToRetain() |
String |
getSchedule() |
String |
getTimezone() |
String |
getVolumeId() |
int |
hashCode() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
SnapshotPolicy.Builder<?> |
toBuilder() |
String |
toString() |
public static SnapshotPolicy.Builder<?> builder()
public SnapshotPolicy.Builder<?> toBuilder()
public String getId()
@Nullable public Snapshot.Interval getInterval()
public long getNumberToRetain()
@Nullable public String getSchedule()
protected com.google.common.base.Objects.ToStringHelper string()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.