public class Snapshot extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Snapshot.Builder |
Modifier | Constructor and Description |
---|---|
protected |
Snapshot(String id,
String volumeId,
Volume.Status status,
int size,
Date created,
String name,
String description,
SnapshotExtendedAttributes extendedAttributes) |
Modifier and Type | Method and Description |
---|---|
static Snapshot.Builder |
builder() |
boolean |
equals(Object obj) |
Date |
getCreated() |
String |
getDescription() |
com.google.common.base.Optional<SnapshotExtendedAttributes> |
getExtendedAttributes() |
String |
getId() |
String |
getName() |
int |
getSize() |
Volume.Status |
getStatus() |
String |
getVolumeId() |
int |
hashCode() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
Snapshot.Builder |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"id","volume_id","status","size","created_at","display_name","display_description","extendedAttributes"}) protected Snapshot(String id, String volumeId, Volume.Status status, int size, @Nullable Date created, @Nullable String name, @Nullable String description, @Nullable SnapshotExtendedAttributes extendedAttributes)
public static Snapshot.Builder builder()
public Snapshot.Builder toBuilder()
public String getId()
public String getVolumeId()
public Volume.Status getStatus()
public int getSize()
@Nullable public String getName()
@Nullable public String getDescription()
@Nullable public com.google.common.base.Optional<SnapshotExtendedAttributes> getExtendedAttributes()
os-extended-snapshot-attributes
extension is installedprotected com.google.common.base.Objects.ToStringHelper string()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.