public class ImportImageTask
extends java.lang.Object
implements java.io.Serializable
Describes an import image task.
| Constructor and Description | 
|---|
| ImportImageTask() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(java.lang.Object obj) | 
| java.lang.String | getArchitecture()The architecture of the virtual machine. | 
| java.lang.String | getDescription()A description of the import task. | 
| java.lang.String | getHypervisor()The target hypervisor for the import task. | 
| java.lang.String | getImageId()The ID of the Amazon Machine Image (AMI) of the imported virtual
 machine. | 
| java.lang.String | getImportTaskId()The ID of the import image task. | 
| java.lang.String | getLicenseType()The license type of the virtual machine. | 
| java.lang.String | getPlatform()The description string for the import image task. | 
| java.lang.String | getProgress()The percentage of progress of the import image task. | 
| java.util.List<SnapshotDetail> | getSnapshotDetails()Information about the snapshots. | 
| java.lang.String | getStatus()A brief status for the import image task. | 
| java.lang.String | getStatusMessage()A descriptive status message for the import image task. | 
| int | hashCode() | 
| void | setArchitecture(java.lang.String architecture)The architecture of the virtual machine. | 
| void | setDescription(java.lang.String description)A description of the import task. | 
| void | setHypervisor(java.lang.String hypervisor)The target hypervisor for the import task. | 
| void | setImageId(java.lang.String imageId)The ID of the Amazon Machine Image (AMI) of the imported virtual
 machine. | 
| void | setImportTaskId(java.lang.String importTaskId)The ID of the import image task. | 
| void | setLicenseType(java.lang.String licenseType)The license type of the virtual machine. | 
| void | setPlatform(java.lang.String platform)The description string for the import image task. | 
| void | setProgress(java.lang.String progress)The percentage of progress of the import image task. | 
| void | setSnapshotDetails(java.util.Collection<SnapshotDetail> snapshotDetails)Information about the snapshots. | 
| void | setStatus(java.lang.String status)A brief status for the import image task. | 
| void | setStatusMessage(java.lang.String statusMessage)A descriptive status message for the import image task. | 
| java.lang.String | toString()Returns a string representation of this object; useful for testing and
 debugging. | 
| ImportImageTask | withArchitecture(java.lang.String architecture)The architecture of the virtual machine. | 
| ImportImageTask | withDescription(java.lang.String description)A description of the import task. | 
| ImportImageTask | withHypervisor(java.lang.String hypervisor)The target hypervisor for the import task. | 
| ImportImageTask | withImageId(java.lang.String imageId)The ID of the Amazon Machine Image (AMI) of the imported virtual
 machine. | 
| ImportImageTask | withImportTaskId(java.lang.String importTaskId)The ID of the import image task. | 
| ImportImageTask | withLicenseType(java.lang.String licenseType)The license type of the virtual machine. | 
| ImportImageTask | withPlatform(java.lang.String platform)The description string for the import image task. | 
| ImportImageTask | withProgress(java.lang.String progress)The percentage of progress of the import image task. | 
| ImportImageTask | withSnapshotDetails(java.util.Collection<SnapshotDetail> snapshotDetails)Information about the snapshots. | 
| ImportImageTask | withSnapshotDetails(SnapshotDetail... snapshotDetails)Information about the snapshots. | 
| ImportImageTask | withStatus(java.lang.String status)A brief status for the import image task. | 
| ImportImageTask | withStatusMessage(java.lang.String statusMessage)A descriptive status message for the import image task. | 
public java.lang.String getImportTaskId()
public void setImportTaskId(java.lang.String importTaskId)
importTaskId - The ID of the import image task.public ImportImageTask withImportTaskId(java.lang.String importTaskId)
Returns a reference to this object so that method calls can be chained together.
importTaskId - The ID of the import image task.public java.lang.String getArchitecture()
Valid values:
 i386 | x86_64
Valid values:
         i386 | x86_64
public void setArchitecture(java.lang.String architecture)
Valid values:
 i386 | x86_64
architecture - The architecture of the virtual machine. Valid values:
         i386 | x86_64
public ImportImageTask withArchitecture(java.lang.String architecture)
Valid values:
 i386 | x86_64
 
Returns a reference to this object so that method calls can be chained together.
architecture - The architecture of the virtual machine. Valid values:
         i386 | x86_64
public java.lang.String getLicenseType()
public void setLicenseType(java.lang.String licenseType)
licenseType - The license type of the virtual machine.public ImportImageTask withLicenseType(java.lang.String licenseType)
Returns a reference to this object so that method calls can be chained together.
licenseType - The license type of the virtual machine.public java.lang.String getPlatform()
public void setPlatform(java.lang.String platform)
platform - The description string for the import image task.public ImportImageTask withPlatform(java.lang.String platform)
Returns a reference to this object so that method calls can be chained together.
platform - The description string for the import image task.public java.lang.String getHypervisor()
Valid values:
 xen
Valid values:
         xen
public void setHypervisor(java.lang.String hypervisor)
Valid values:
 xen
hypervisor - The target hypervisor for the import task. Valid values:
         xen
public ImportImageTask withHypervisor(java.lang.String hypervisor)
Valid values:
 xen
 
Returns a reference to this object so that method calls can be chained together.
hypervisor - The target hypervisor for the import task. Valid values:
         xen
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - A description of the import task.public ImportImageTask withDescription(java.lang.String description)
Returns a reference to this object so that method calls can be chained together.
description - A description of the import task.public java.util.List<SnapshotDetail> getSnapshotDetails()
public void setSnapshotDetails(java.util.Collection<SnapshotDetail> snapshotDetails)
snapshotDetails - Information about the snapshots.public ImportImageTask withSnapshotDetails(SnapshotDetail... snapshotDetails)
Returns a reference to this object so that method calls can be chained together.
snapshotDetails - Information about the snapshots.public ImportImageTask withSnapshotDetails(java.util.Collection<SnapshotDetail> snapshotDetails)
Returns a reference to this object so that method calls can be chained together.
snapshotDetails - Information about the snapshots.public java.lang.String getImageId()
public void setImageId(java.lang.String imageId)
imageId - The ID of the Amazon Machine Image (AMI) of the imported virtual
         machine.public ImportImageTask withImageId(java.lang.String imageId)
Returns a reference to this object so that method calls can be chained together.
imageId - The ID of the Amazon Machine Image (AMI) of the imported virtual
         machine.public java.lang.String getProgress()
public void setProgress(java.lang.String progress)
progress - The percentage of progress of the import image task.public ImportImageTask withProgress(java.lang.String progress)
Returns a reference to this object so that method calls can be chained together.
progress - The percentage of progress of the import image task.public java.lang.String getStatusMessage()
public void setStatusMessage(java.lang.String statusMessage)
statusMessage - A descriptive status message for the import image task.public ImportImageTask withStatusMessage(java.lang.String statusMessage)
Returns a reference to this object so that method calls can be chained together.
statusMessage - A descriptive status message for the import image task.public java.lang.String getStatus()
public void setStatus(java.lang.String status)
status - A brief status for the import image task.public ImportImageTask withStatus(java.lang.String status)
Returns a reference to this object so that method calls can be chained together.
status - A brief status for the import image task.public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object