org.jclouds.googlecomputeengine.domain
Class Image
java.lang.Object
org.jclouds.googlecomputeengine.domain.Resource
org.jclouds.googlecomputeengine.domain.Image
@Beta
public final class Image
- extends Resource
Represents a disk image to use on an instance.
- Author:
- David Alves
- See Also:
| Nested classes/interfaces inherited from class org.jclouds.googlecomputeengine.domain.Resource |
Resource.Kind |
Image
@ConstructorProperties(value={"id","creationTimestamp","selfLink","name","description","sourceType","rawDisk","deprecated"})
protected Image(String id,
Date creationTimestamp,
URI selfLink,
String name,
String description,
String sourceType,
Image.RawDisk rawDisk,
Deprecated deprecated)
getSourceType
public String getSourceType()
- Returns:
- must be RAW; provided by the client when the disk image is created.
getRawDisk
public Image.RawDisk getRawDisk()
- Returns:
- the raw disk image parameters.
getDeprecated
public com.google.common.base.Optional<Deprecated> getDeprecated()
- Returns:
- the deprecation information for this image
string
protected com.google.common.base.Objects.ToStringHelper string()
-
- Overrides:
string in class Resource
toString
public String toString()
-
- Overrides:
toString in class Resource
builder
public static Image.Builder builder()
toBuilder
public Image.Builder toBuilder()
- Overrides:
toBuilder in class Resource
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.