org.jclouds.googlecomputeengine.domain
Class Snapshot
java.lang.Object
org.jclouds.googlecomputeengine.domain.Resource
org.jclouds.googlecomputeengine.domain.AbstractDisk
org.jclouds.googlecomputeengine.domain.Snapshot
@Beta
public final class Snapshot
- extends AbstractDisk
A Persistent Disk Snapshot resource.
- Author:
- Andrew Bayer
- See Also:
| Nested classes/interfaces inherited from class org.jclouds.googlecomputeengine.domain.Resource |
Resource.Kind |
getSourceDisk
public com.google.common.base.Optional<URI> getSourceDisk()
- Returns:
- The source disk used to create this snapshot. Once the source disk
has been deleted from the system, this field will be cleared, and will
not be set even if a disk with the same name has been re-created (output only).
getSourceDiskId
public String getSourceDiskId()
- Returns:
- The ID value of the disk used to create this snapshot. This value
may be used to determine whether the snapshot was taken from the current
or a previous instance of a given disk name.
string
protected com.google.common.base.Objects.ToStringHelper string()
-
- Overrides:
string in class AbstractDisk
toString
public String toString()
-
- Overrides:
toString in class AbstractDisk
builder
public static Snapshot.Builder builder()
toBuilder
public Snapshot.Builder toBuilder()
- Overrides:
toBuilder in class AbstractDisk
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.