@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Image extends Object implements Serializable, Cloneable
Describes an image.
| Constructor and Description | 
|---|
| Image() | 
| Modifier and Type | Method and Description | 
|---|---|
| Image | clone() | 
| boolean | equals(Object obj) | 
| String | getArchitecture()
 The architecture of the image. | 
| List<BlockDeviceMapping> | getBlockDeviceMappings()
 Any block device mapping entries. | 
| String | getBootMode()
 The boot mode of the image. | 
| String | getCreationDate()
 The date and time the image was created. | 
| String | getDescription()
 The description of the AMI that was provided during image creation. | 
| Boolean | getEnaSupport()
 Specifies whether enhanced networking with ENA is enabled. | 
| String | getHypervisor()
 The hypervisor type of the image. | 
| String | getImageId()
 The ID of the AMI. | 
| String | getImageLocation()
 The location of the AMI. | 
| String | getImageOwnerAlias()
 The AWS account alias (for example,  amazon,self) or the AWS account ID of the AMI
 owner. | 
| String | getImageType()
 The type of image. | 
| String | getKernelId()
 The kernel associated with the image, if any. | 
| String | getName()
 The name of the AMI that was provided during image creation. | 
| String | getOwnerId()
 The AWS account ID of the image owner. | 
| String | getPlatform()
 This value is set to  windowsfor Windows AMIs; otherwise, it is blank. | 
| String | getPlatformDetails()
 The platform details associated with the billing code of the AMI. | 
| List<ProductCode> | getProductCodes()
 Any product codes associated with the AMI. | 
| Boolean | getPublic()
 Indicates whether the image has public launch permissions. | 
| String | getRamdiskId()
 The RAM disk associated with the image, if any. | 
| String | getRootDeviceName()
 The device name of the root device volume (for example,  /dev/sda1). | 
| String | getRootDeviceType()
 The type of root device used by the AMI. | 
| String | getSriovNetSupport()
 Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled. | 
| String | getState()
 The current state of the AMI. | 
| StateReason | getStateReason()
 The reason for the state change. | 
| List<Tag> | getTags()
 Any tags assigned to the image. | 
| String | getUsageOperation()
 The operation of the Amazon EC2 instance and the billing code that is associated with the AMI. | 
| String | getVirtualizationType()
 The type of virtualization of the AMI. | 
| int | hashCode() | 
| Boolean | isEnaSupport()
 Specifies whether enhanced networking with ENA is enabled. | 
| Boolean | isPublic()
 Indicates whether the image has public launch permissions. | 
| void | setArchitecture(ArchitectureValues architecture)
 The architecture of the image. | 
| void | setArchitecture(String architecture)
 The architecture of the image. | 
| void | setBlockDeviceMappings(Collection<BlockDeviceMapping> blockDeviceMappings)
 Any block device mapping entries. | 
| void | setBootMode(BootModeValues bootMode)
 The boot mode of the image. | 
| void | setBootMode(String bootMode)
 The boot mode of the image. | 
| void | setCreationDate(String creationDate)
 The date and time the image was created. | 
| void | setDescription(String description)
 The description of the AMI that was provided during image creation. | 
| void | setEnaSupport(Boolean enaSupport)
 Specifies whether enhanced networking with ENA is enabled. | 
| void | setHypervisor(HypervisorType hypervisor)
 The hypervisor type of the image. | 
| void | setHypervisor(String hypervisor)
 The hypervisor type of the image. | 
| void | setImageId(String imageId)
 The ID of the AMI. | 
| void | setImageLocation(String imageLocation)
 The location of the AMI. | 
| void | setImageOwnerAlias(String imageOwnerAlias)
 The AWS account alias (for example,  amazon,self) or the AWS account ID of the AMI
 owner. | 
| void | setImageType(ImageTypeValues imageType)
 The type of image. | 
| void | setImageType(String imageType)
 The type of image. | 
| void | setKernelId(String kernelId)
 The kernel associated with the image, if any. | 
| void | setName(String name)
 The name of the AMI that was provided during image creation. | 
| void | setOwnerId(String ownerId)
 The AWS account ID of the image owner. | 
| void | setPlatform(PlatformValues platform)
 This value is set to  windowsfor Windows AMIs; otherwise, it is blank. | 
| void | setPlatform(String platform)
 This value is set to  windowsfor Windows AMIs; otherwise, it is blank. | 
| void | setPlatformDetails(String platformDetails)
 The platform details associated with the billing code of the AMI. | 
| void | setProductCodes(Collection<ProductCode> productCodes)
 Any product codes associated with the AMI. | 
| void | setPublic(Boolean publicValue)
 Indicates whether the image has public launch permissions. | 
| void | setRamdiskId(String ramdiskId)
 The RAM disk associated with the image, if any. | 
| void | setRootDeviceName(String rootDeviceName)
 The device name of the root device volume (for example,  /dev/sda1). | 
| void | setRootDeviceType(DeviceType rootDeviceType)
 The type of root device used by the AMI. | 
| void | setRootDeviceType(String rootDeviceType)
 The type of root device used by the AMI. | 
| void | setSriovNetSupport(String sriovNetSupport)
 Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled. | 
| void | setState(ImageState state)
 The current state of the AMI. | 
| void | setState(String state)
 The current state of the AMI. | 
| void | setStateReason(StateReason stateReason)
 The reason for the state change. | 
| void | setTags(Collection<Tag> tags)
 Any tags assigned to the image. | 
| void | setUsageOperation(String usageOperation)
 The operation of the Amazon EC2 instance and the billing code that is associated with the AMI. | 
| void | setVirtualizationType(String virtualizationType)
 The type of virtualization of the AMI. | 
| void | setVirtualizationType(VirtualizationType virtualizationType)
 The type of virtualization of the AMI. | 
| String | toString()Returns a string representation of this object. | 
| Image | withArchitecture(ArchitectureValues architecture)
 The architecture of the image. | 
| Image | withArchitecture(String architecture)
 The architecture of the image. | 
| Image | withBlockDeviceMappings(BlockDeviceMapping... blockDeviceMappings)
 Any block device mapping entries. | 
| Image | withBlockDeviceMappings(Collection<BlockDeviceMapping> blockDeviceMappings)
 Any block device mapping entries. | 
| Image | withBootMode(BootModeValues bootMode)
 The boot mode of the image. | 
| Image | withBootMode(String bootMode)
 The boot mode of the image. | 
| Image | withCreationDate(String creationDate)
 The date and time the image was created. | 
| Image | withDescription(String description)
 The description of the AMI that was provided during image creation. | 
| Image | withEnaSupport(Boolean enaSupport)
 Specifies whether enhanced networking with ENA is enabled. | 
| Image | withHypervisor(HypervisorType hypervisor)
 The hypervisor type of the image. | 
| Image | withHypervisor(String hypervisor)
 The hypervisor type of the image. | 
| Image | withImageId(String imageId)
 The ID of the AMI. | 
| Image | withImageLocation(String imageLocation)
 The location of the AMI. | 
| Image | withImageOwnerAlias(String imageOwnerAlias)
 The AWS account alias (for example,  amazon,self) or the AWS account ID of the AMI
 owner. | 
| Image | withImageType(ImageTypeValues imageType)
 The type of image. | 
| Image | withImageType(String imageType)
 The type of image. | 
| Image | withKernelId(String kernelId)
 The kernel associated with the image, if any. | 
| Image | withName(String name)
 The name of the AMI that was provided during image creation. | 
| Image | withOwnerId(String ownerId)
 The AWS account ID of the image owner. | 
| Image | withPlatform(PlatformValues platform)
 This value is set to  windowsfor Windows AMIs; otherwise, it is blank. | 
| Image | withPlatform(String platform)
 This value is set to  windowsfor Windows AMIs; otherwise, it is blank. | 
| Image | withPlatformDetails(String platformDetails)
 The platform details associated with the billing code of the AMI. | 
| Image | withProductCodes(Collection<ProductCode> productCodes)
 Any product codes associated with the AMI. | 
| Image | withProductCodes(ProductCode... productCodes)
 Any product codes associated with the AMI. | 
| Image | withPublic(Boolean publicValue)
 Indicates whether the image has public launch permissions. | 
| Image | withRamdiskId(String ramdiskId)
 The RAM disk associated with the image, if any. | 
| Image | withRootDeviceName(String rootDeviceName)
 The device name of the root device volume (for example,  /dev/sda1). | 
| Image | withRootDeviceType(DeviceType rootDeviceType)
 The type of root device used by the AMI. | 
| Image | withRootDeviceType(String rootDeviceType)
 The type of root device used by the AMI. | 
| Image | withSriovNetSupport(String sriovNetSupport)
 Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled. | 
| Image | withState(ImageState state)
 The current state of the AMI. | 
| Image | withState(String state)
 The current state of the AMI. | 
| Image | withStateReason(StateReason stateReason)
 The reason for the state change. | 
| Image | withTags(Collection<Tag> tags)
 Any tags assigned to the image. | 
| Image | withTags(Tag... tags)
 Any tags assigned to the image. | 
| Image | withUsageOperation(String usageOperation)
 The operation of the Amazon EC2 instance and the billing code that is associated with the AMI. | 
| Image | withVirtualizationType(String virtualizationType)
 The type of virtualization of the AMI. | 
| Image | withVirtualizationType(VirtualizationType virtualizationType)
 The type of virtualization of the AMI. | 
public void setArchitecture(String architecture)
The architecture of the image.
architecture - The architecture of the image.ArchitectureValuespublic String getArchitecture()
The architecture of the image.
ArchitectureValuespublic Image withArchitecture(String architecture)
The architecture of the image.
architecture - The architecture of the image.ArchitectureValuespublic void setArchitecture(ArchitectureValues architecture)
The architecture of the image.
architecture - The architecture of the image.ArchitectureValuespublic Image withArchitecture(ArchitectureValues architecture)
The architecture of the image.
architecture - The architecture of the image.ArchitectureValuespublic void setCreationDate(String creationDate)
The date and time the image was created.
creationDate - The date and time the image was created.public String getCreationDate()
The date and time the image was created.
public Image withCreationDate(String creationDate)
The date and time the image was created.
creationDate - The date and time the image was created.public void setImageId(String imageId)
The ID of the AMI.
imageId - The ID of the AMI.public String getImageId()
The ID of the AMI.
public Image withImageId(String imageId)
The ID of the AMI.
imageId - The ID of the AMI.public void setImageLocation(String imageLocation)
The location of the AMI.
imageLocation - The location of the AMI.public String getImageLocation()
The location of the AMI.
public Image withImageLocation(String imageLocation)
The location of the AMI.
imageLocation - The location of the AMI.public void setImageType(String imageType)
The type of image.
imageType - The type of image.ImageTypeValuespublic String getImageType()
The type of image.
ImageTypeValuespublic Image withImageType(String imageType)
The type of image.
imageType - The type of image.ImageTypeValuespublic void setImageType(ImageTypeValues imageType)
The type of image.
imageType - The type of image.ImageTypeValuespublic Image withImageType(ImageTypeValues imageType)
The type of image.
imageType - The type of image.ImageTypeValuespublic void setPublic(Boolean publicValue)
 Indicates whether the image has public launch permissions. The value is true if this image has
 public launch permissions or false if it has only implicit and explicit launch permissions.
 
publicValue - Indicates whether the image has public launch permissions. The value is true if this image
        has public launch permissions or false if it has only implicit and explicit launch
        permissions.public Boolean getPublic()
 Indicates whether the image has public launch permissions. The value is true if this image has
 public launch permissions or false if it has only implicit and explicit launch permissions.
 
true if this image
         has public launch permissions or false if it has only implicit and explicit launch
         permissions.public Image withPublic(Boolean publicValue)
 Indicates whether the image has public launch permissions. The value is true if this image has
 public launch permissions or false if it has only implicit and explicit launch permissions.
 
publicValue - Indicates whether the image has public launch permissions. The value is true if this image
        has public launch permissions or false if it has only implicit and explicit launch
        permissions.public Boolean isPublic()
 Indicates whether the image has public launch permissions. The value is true if this image has
 public launch permissions or false if it has only implicit and explicit launch permissions.
 
true if this image
         has public launch permissions or false if it has only implicit and explicit launch
         permissions.public void setKernelId(String kernelId)
The kernel associated with the image, if any. Only applicable for machine images.
kernelId - The kernel associated with the image, if any. Only applicable for machine images.public String getKernelId()
The kernel associated with the image, if any. Only applicable for machine images.
public Image withKernelId(String kernelId)
The kernel associated with the image, if any. Only applicable for machine images.
kernelId - The kernel associated with the image, if any. Only applicable for machine images.public void setOwnerId(String ownerId)
The AWS account ID of the image owner.
ownerId - The AWS account ID of the image owner.public String getOwnerId()
The AWS account ID of the image owner.
public Image withOwnerId(String ownerId)
The AWS account ID of the image owner.
ownerId - The AWS account ID of the image owner.public void setPlatform(String platform)
 This value is set to windows for Windows AMIs; otherwise, it is blank.
 
platform - This value is set to windows for Windows AMIs; otherwise, it is blank.PlatformValuespublic String getPlatform()
 This value is set to windows for Windows AMIs; otherwise, it is blank.
 
windows for Windows AMIs; otherwise, it is blank.PlatformValuespublic Image withPlatform(String platform)
 This value is set to windows for Windows AMIs; otherwise, it is blank.
 
platform - This value is set to windows for Windows AMIs; otherwise, it is blank.PlatformValuespublic void setPlatform(PlatformValues platform)
 This value is set to windows for Windows AMIs; otherwise, it is blank.
 
platform - This value is set to windows for Windows AMIs; otherwise, it is blank.PlatformValuespublic Image withPlatform(PlatformValues platform)
 This value is set to windows for Windows AMIs; otherwise, it is blank.
 
platform - This value is set to windows for Windows AMIs; otherwise, it is blank.PlatformValuespublic void setPlatformDetails(String platformDetails)
The platform details associated with the billing code of the AMI. For more information, see Obtaining Billing Information in the Amazon Elastic Compute Cloud User Guide.
platformDetails - The platform details associated with the billing code of the AMI. For more information, see Obtaining Billing
        Information in the Amazon Elastic Compute Cloud User Guide.public String getPlatformDetails()
The platform details associated with the billing code of the AMI. For more information, see Obtaining Billing Information in the Amazon Elastic Compute Cloud User Guide.
public Image withPlatformDetails(String platformDetails)
The platform details associated with the billing code of the AMI. For more information, see Obtaining Billing Information in the Amazon Elastic Compute Cloud User Guide.
platformDetails - The platform details associated with the billing code of the AMI. For more information, see Obtaining Billing
        Information in the Amazon Elastic Compute Cloud User Guide.public void setUsageOperation(String usageOperation)
 The operation of the Amazon EC2 instance and the billing code that is associated with the AMI.
 usageOperation corresponds to the lineitem/Operation column on your AWS Cost and Usage Report and in the AWS Price List API.
 For the list of UsageOperation codes, see Platform Details
 and Usage Operation Billing Codes in the Amazon Elastic Compute Cloud User Guide.
 
usageOperation - The operation of the Amazon EC2 instance and the billing code that is associated with the AMI.
        usageOperation corresponds to the lineitem/Operation column on your AWS Cost and Usage Report and in the AWS Price List
        API. For the list of UsageOperation codes, see Platform
        Details and Usage Operation Billing Codes in the Amazon Elastic Compute Cloud User Guide.public String getUsageOperation()
 The operation of the Amazon EC2 instance and the billing code that is associated with the AMI.
 usageOperation corresponds to the lineitem/Operation column on your AWS Cost and Usage Report and in the AWS Price List API.
 For the list of UsageOperation codes, see Platform Details
 and Usage Operation Billing Codes in the Amazon Elastic Compute Cloud User Guide.
 
usageOperation corresponds to the lineitem/Operation column on your AWS Cost and Usage Report and in the AWS Price List
         API. For the list of UsageOperation codes, see Platform
         Details and Usage Operation Billing Codes in the Amazon Elastic Compute Cloud User Guide.public Image withUsageOperation(String usageOperation)
 The operation of the Amazon EC2 instance and the billing code that is associated with the AMI.
 usageOperation corresponds to the lineitem/Operation column on your AWS Cost and Usage Report and in the AWS Price List API.
 For the list of UsageOperation codes, see Platform Details
 and Usage Operation Billing Codes in the Amazon Elastic Compute Cloud User Guide.
 
usageOperation - The operation of the Amazon EC2 instance and the billing code that is associated with the AMI.
        usageOperation corresponds to the lineitem/Operation column on your AWS Cost and Usage Report and in the AWS Price List
        API. For the list of UsageOperation codes, see Platform
        Details and Usage Operation Billing Codes in the Amazon Elastic Compute Cloud User Guide.public List<ProductCode> getProductCodes()
Any product codes associated with the AMI.
public void setProductCodes(Collection<ProductCode> productCodes)
Any product codes associated with the AMI.
productCodes - Any product codes associated with the AMI.public Image withProductCodes(ProductCode... productCodes)
Any product codes associated with the AMI.
 NOTE: This method appends the values to the existing list (if any). Use
 setProductCodes(java.util.Collection) or withProductCodes(java.util.Collection) if you want to
 override the existing values.
 
productCodes - Any product codes associated with the AMI.public Image withProductCodes(Collection<ProductCode> productCodes)
Any product codes associated with the AMI.
productCodes - Any product codes associated with the AMI.public void setRamdiskId(String ramdiskId)
The RAM disk associated with the image, if any. Only applicable for machine images.
ramdiskId - The RAM disk associated with the image, if any. Only applicable for machine images.public String getRamdiskId()
The RAM disk associated with the image, if any. Only applicable for machine images.
public Image withRamdiskId(String ramdiskId)
The RAM disk associated with the image, if any. Only applicable for machine images.
ramdiskId - The RAM disk associated with the image, if any. Only applicable for machine images.public void setState(String state)
 The current state of the AMI. If the state is available, the image is successfully registered and
 can be used to launch an instance.
 
state - The current state of the AMI. If the state is available, the image is successfully registered
        and can be used to launch an instance.ImageStatepublic String getState()
 The current state of the AMI. If the state is available, the image is successfully registered and
 can be used to launch an instance.
 
available, the image is successfully
         registered and can be used to launch an instance.ImageStatepublic Image withState(String state)
 The current state of the AMI. If the state is available, the image is successfully registered and
 can be used to launch an instance.
 
state - The current state of the AMI. If the state is available, the image is successfully registered
        and can be used to launch an instance.ImageStatepublic void setState(ImageState state)
 The current state of the AMI. If the state is available, the image is successfully registered and
 can be used to launch an instance.
 
state - The current state of the AMI. If the state is available, the image is successfully registered
        and can be used to launch an instance.ImageStatepublic Image withState(ImageState state)
 The current state of the AMI. If the state is available, the image is successfully registered and
 can be used to launch an instance.
 
state - The current state of the AMI. If the state is available, the image is successfully registered
        and can be used to launch an instance.ImageStatepublic List<BlockDeviceMapping> getBlockDeviceMappings()
Any block device mapping entries.
public void setBlockDeviceMappings(Collection<BlockDeviceMapping> blockDeviceMappings)
Any block device mapping entries.
blockDeviceMappings - Any block device mapping entries.public Image withBlockDeviceMappings(BlockDeviceMapping... blockDeviceMappings)
Any block device mapping entries.
 NOTE: This method appends the values to the existing list (if any). Use
 setBlockDeviceMappings(java.util.Collection) or withBlockDeviceMappings(java.util.Collection)
 if you want to override the existing values.
 
blockDeviceMappings - Any block device mapping entries.public Image withBlockDeviceMappings(Collection<BlockDeviceMapping> blockDeviceMappings)
Any block device mapping entries.
blockDeviceMappings - Any block device mapping entries.public void setDescription(String description)
The description of the AMI that was provided during image creation.
description - The description of the AMI that was provided during image creation.public String getDescription()
The description of the AMI that was provided during image creation.
public Image withDescription(String description)
The description of the AMI that was provided during image creation.
description - The description of the AMI that was provided during image creation.public void setEnaSupport(Boolean enaSupport)
Specifies whether enhanced networking with ENA is enabled.
enaSupport - Specifies whether enhanced networking with ENA is enabled.public Boolean getEnaSupport()
Specifies whether enhanced networking with ENA is enabled.
public Image withEnaSupport(Boolean enaSupport)
Specifies whether enhanced networking with ENA is enabled.
enaSupport - Specifies whether enhanced networking with ENA is enabled.public Boolean isEnaSupport()
Specifies whether enhanced networking with ENA is enabled.
public void setHypervisor(String hypervisor)
The hypervisor type of the image.
hypervisor - The hypervisor type of the image.HypervisorTypepublic String getHypervisor()
The hypervisor type of the image.
HypervisorTypepublic Image withHypervisor(String hypervisor)
The hypervisor type of the image.
hypervisor - The hypervisor type of the image.HypervisorTypepublic void setHypervisor(HypervisorType hypervisor)
The hypervisor type of the image.
hypervisor - The hypervisor type of the image.HypervisorTypepublic Image withHypervisor(HypervisorType hypervisor)
The hypervisor type of the image.
hypervisor - The hypervisor type of the image.HypervisorTypepublic void setImageOwnerAlias(String imageOwnerAlias)
 The AWS account alias (for example, amazon, self) or the AWS account ID of the AMI
 owner.
 
imageOwnerAlias - The AWS account alias (for example, amazon, self) or the AWS account ID of the
        AMI owner.public String getImageOwnerAlias()
 The AWS account alias (for example, amazon, self) or the AWS account ID of the AMI
 owner.
 
amazon, self) or the AWS account ID of the
         AMI owner.public Image withImageOwnerAlias(String imageOwnerAlias)
 The AWS account alias (for example, amazon, self) or the AWS account ID of the AMI
 owner.
 
imageOwnerAlias - The AWS account alias (for example, amazon, self) or the AWS account ID of the
        AMI owner.public void setName(String name)
The name of the AMI that was provided during image creation.
name - The name of the AMI that was provided during image creation.public String getName()
The name of the AMI that was provided during image creation.
public Image withName(String name)
The name of the AMI that was provided during image creation.
name - The name of the AMI that was provided during image creation.public void setRootDeviceName(String rootDeviceName)
 The device name of the root device volume (for example, /dev/sda1).
 
rootDeviceName - The device name of the root device volume (for example, /dev/sda1).public String getRootDeviceName()
 The device name of the root device volume (for example, /dev/sda1).
 
/dev/sda1).public Image withRootDeviceName(String rootDeviceName)
 The device name of the root device volume (for example, /dev/sda1).
 
rootDeviceName - The device name of the root device volume (for example, /dev/sda1).public void setRootDeviceType(String rootDeviceType)
The type of root device used by the AMI. The AMI can use an EBS volume or an instance store volume.
rootDeviceType - The type of root device used by the AMI. The AMI can use an EBS volume or an instance store volume.DeviceTypepublic String getRootDeviceType()
The type of root device used by the AMI. The AMI can use an EBS volume or an instance store volume.
DeviceTypepublic Image withRootDeviceType(String rootDeviceType)
The type of root device used by the AMI. The AMI can use an EBS volume or an instance store volume.
rootDeviceType - The type of root device used by the AMI. The AMI can use an EBS volume or an instance store volume.DeviceTypepublic void setRootDeviceType(DeviceType rootDeviceType)
The type of root device used by the AMI. The AMI can use an EBS volume or an instance store volume.
rootDeviceType - The type of root device used by the AMI. The AMI can use an EBS volume or an instance store volume.DeviceTypepublic Image withRootDeviceType(DeviceType rootDeviceType)
The type of root device used by the AMI. The AMI can use an EBS volume or an instance store volume.
rootDeviceType - The type of root device used by the AMI. The AMI can use an EBS volume or an instance store volume.DeviceTypepublic void setSriovNetSupport(String sriovNetSupport)
Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
sriovNetSupport - Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.public String getSriovNetSupport()
Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
public Image withSriovNetSupport(String sriovNetSupport)
Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
sriovNetSupport - Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.public void setStateReason(StateReason stateReason)
The reason for the state change.
stateReason - The reason for the state change.public StateReason getStateReason()
The reason for the state change.
public Image withStateReason(StateReason stateReason)
The reason for the state change.
stateReason - The reason for the state change.public List<Tag> getTags()
Any tags assigned to the image.
public void setTags(Collection<Tag> tags)
Any tags assigned to the image.
tags - Any tags assigned to the image.public Image withTags(Tag... tags)
Any tags assigned to the image.
 NOTE: This method appends the values to the existing list (if any). Use
 setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the
 existing values.
 
tags - Any tags assigned to the image.public Image withTags(Collection<Tag> tags)
Any tags assigned to the image.
tags - Any tags assigned to the image.public void setVirtualizationType(String virtualizationType)
The type of virtualization of the AMI.
virtualizationType - The type of virtualization of the AMI.VirtualizationTypepublic String getVirtualizationType()
The type of virtualization of the AMI.
VirtualizationTypepublic Image withVirtualizationType(String virtualizationType)
The type of virtualization of the AMI.
virtualizationType - The type of virtualization of the AMI.VirtualizationTypepublic void setVirtualizationType(VirtualizationType virtualizationType)
The type of virtualization of the AMI.
virtualizationType - The type of virtualization of the AMI.VirtualizationTypepublic Image withVirtualizationType(VirtualizationType virtualizationType)
The type of virtualization of the AMI.
virtualizationType - The type of virtualization of the AMI.VirtualizationTypepublic void setBootMode(String bootMode)
The boot mode of the image. For more information, see Boot modes in the Amazon Elastic Compute Cloud User Guide.
bootMode - The boot mode of the image. For more information, see Boot modes in the Amazon
        Elastic Compute Cloud User Guide.BootModeValuespublic String getBootMode()
The boot mode of the image. For more information, see Boot modes in the Amazon Elastic Compute Cloud User Guide.
BootModeValuespublic Image withBootMode(String bootMode)
The boot mode of the image. For more information, see Boot modes in the Amazon Elastic Compute Cloud User Guide.
bootMode - The boot mode of the image. For more information, see Boot modes in the Amazon
        Elastic Compute Cloud User Guide.BootModeValuespublic void setBootMode(BootModeValues bootMode)
The boot mode of the image. For more information, see Boot modes in the Amazon Elastic Compute Cloud User Guide.
bootMode - The boot mode of the image. For more information, see Boot modes in the Amazon
        Elastic Compute Cloud User Guide.BootModeValuespublic Image withBootMode(BootModeValues bootMode)
The boot mode of the image. For more information, see Boot modes in the Amazon Elastic Compute Cloud User Guide.
bootMode - The boot mode of the image. For more information, see Boot modes in the Amazon
        Elastic Compute Cloud User Guide.BootModeValuespublic String toString()
toString in class ObjectObject.toString()