public class Image extends Object implements Comparable<Image>
Modifier and Type | Class and Description |
---|---|
static class |
Image.Architecture |
static class |
Image.EbsBlockDevice |
static class |
Image.ImageState |
static class |
Image.ImageType |
Constructor and Description |
---|
Image(String region,
Image.Architecture architecture,
String name,
String description,
String imageId,
String imageLocation,
String imageOwnerId,
Image.ImageState imageState,
String rawState,
Image.ImageType imageType,
boolean isPublic,
Iterable<String> productCodes,
String kernelId,
String platform,
String ramdiskId,
RootDeviceType rootDeviceType,
String rootDeviceName,
Map<String,Image.EbsBlockDevice> ebsBlockDevices,
Map<String,String> tags,
VirtualizationType virtualizationType,
Hypervisor hypervisor) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Image o) |
boolean |
equals(Object obj) |
Image.Architecture |
getArchitecture()
The architecture of the image (i386 or x86_64).
|
String |
getDescription() |
Map<String,Image.EbsBlockDevice> |
getEbsBlockDevices() |
Hypervisor |
getHypervisor() |
String |
getId()
The ID of the AMI.
|
String |
getImageLocation()
The location of the AMI.
|
String |
getImageOwnerId()
AWS Access Key ID of the image owner.
|
Image.ImageState |
getImageState()
Current state of the AMI.
|
Image.ImageType |
getImageType()
The type of image (machine, kernel, or ramdisk).
|
String |
getKernelId()
The kernel associated with the image, if any.
|
String |
getName() |
String |
getPlatform()
The operating platform of the instance.
|
Set<String> |
getProductCodes()
Product codes of the AMI.
|
String |
getRamdiskId()
The RAM disk associated with the image, if any.
|
String |
getRawState()
raw form of
getImageState() as taken directly from the api response xml document/ |
String |
getRegion()
Deprecated.
|
String |
getRootDeviceName() |
RootDeviceType |
getRootDeviceType() |
Map<String,String> |
getTags() |
VirtualizationType |
getVirtualizationType() |
int |
hashCode() |
boolean |
isPublic()
Returns true if this image has public launch permissions.
|
String |
toString() |
public Image(String region, Image.Architecture architecture, @Nullable String name, @Nullable String description, String imageId, String imageLocation, String imageOwnerId, Image.ImageState imageState, String rawState, Image.ImageType imageType, boolean isPublic, Iterable<String> productCodes, @Nullable String kernelId, @Nullable String platform, @Nullable String ramdiskId, RootDeviceType rootDeviceType, @Nullable String rootDeviceName, Map<String,Image.EbsBlockDevice> ebsBlockDevices, Map<String,String> tags, VirtualizationType virtualizationType, Hypervisor hypervisor)
public VirtualizationType getVirtualizationType()
public Hypervisor getHypervisor()
@Deprecated public String getRegion()
public Image.Architecture getArchitecture()
public String getId()
public String getImageLocation()
public String getImageOwnerId()
public Image.ImageState getImageState()
public String getRawState()
getImageState()
as taken directly from the api response xml document/public Image.ImageType getImageType()
public boolean isPublic()
public String getKernelId()
public String getPlatform()
public String getRamdiskId()
public int compareTo(Image o)
compareTo
in interface Comparable<Image>
public RootDeviceType getRootDeviceType()
public String getName()
public String getDescription()
public String getRootDeviceName()
public Map<String,Image.EbsBlockDevice> getEbsBlockDevices()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.