public class ImportImageTask
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes an import image task.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
architecture
The architecture of the virtual machine.
|
private java.lang.String |
description
A description of the import task.
|
private java.lang.String |
hypervisor
The target hypervisor for the import task.
|
private java.lang.String |
imageId
The ID of the Amazon Machine Image (AMI) of the imported virtual machine.
|
private java.lang.String |
importTaskId
The ID of the import image task.
|
private java.lang.String |
licenseType
The license type of the virtual machine.
|
private java.lang.String |
platform
The description string for the import image task.
|
private java.lang.String |
progress
The percentage of progress of the import image task.
|
private SdkInternalList<SnapshotDetail> |
snapshotDetails
Information about the snapshots.
|
private java.lang.String |
status
A brief status for the import image task.
|
private java.lang.String |
statusMessage
A descriptive status message for the import image task.
|
Constructor and Description |
---|
ImportImageTask() |
Modifier and Type | Method and Description |
---|---|
ImportImageTask |
clone() |
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.
|
private java.lang.String importTaskId
The ID of the import image task.
private java.lang.String architecture
The architecture of the virtual machine.
Valid values: i386
| x86_64
private java.lang.String licenseType
The license type of the virtual machine.
private java.lang.String platform
The description string for the import image task.
private java.lang.String hypervisor
The target hypervisor for the import task.
Valid values: xen
private java.lang.String description
A description of the import task.
private SdkInternalList<SnapshotDetail> snapshotDetails
Information about the snapshots.
private java.lang.String imageId
The ID of the Amazon Machine Image (AMI) of the imported virtual machine.
private java.lang.String progress
The percentage of progress of the import image task.
private java.lang.String statusMessage
A descriptive status message for the import image task.
private java.lang.String status
A brief status for the import image task.
public void setImportTaskId(java.lang.String importTaskId)
The ID of the import image task.
importTaskId
- The ID of the import image task.public java.lang.String getImportTaskId()
The ID of the import image task.
public ImportImageTask withImportTaskId(java.lang.String importTaskId)
The ID of the import image task.
importTaskId
- The ID of the import image task.public void setArchitecture(java.lang.String architecture)
The architecture of the virtual machine.
Valid values: i386
| x86_64
architecture
- The architecture of the virtual machine.
Valid values: i386
| x86_64
public java.lang.String getArchitecture()
The architecture of the virtual machine.
Valid values: i386
| x86_64
Valid values: i386
| x86_64
public ImportImageTask withArchitecture(java.lang.String architecture)
The architecture of the virtual machine.
Valid values: i386
| x86_64
architecture
- The architecture of the virtual machine.
Valid values: i386
| x86_64
public void setLicenseType(java.lang.String licenseType)
The license type of the virtual machine.
licenseType
- The license type of the virtual machine.public java.lang.String getLicenseType()
The license type of the virtual machine.
public ImportImageTask withLicenseType(java.lang.String licenseType)
The license type of the virtual machine.
licenseType
- The license type of the virtual machine.public void setPlatform(java.lang.String platform)
The description string for the import image task.
platform
- The description string for the import image task.public java.lang.String getPlatform()
The description string for the import image task.
public ImportImageTask withPlatform(java.lang.String platform)
The description string for the import image task.
platform
- The description string for the import image task.public void setHypervisor(java.lang.String hypervisor)
The target hypervisor for the import task.
Valid values: xen
hypervisor
- The target hypervisor for the import task.
Valid values: xen
public java.lang.String getHypervisor()
The target hypervisor for the import task.
Valid values: xen
Valid values: xen
public ImportImageTask withHypervisor(java.lang.String hypervisor)
The target hypervisor for the import task.
Valid values: xen
hypervisor
- The target hypervisor for the import task.
Valid values: xen
public void setDescription(java.lang.String description)
A description of the import task.
description
- A description of the import task.public java.lang.String getDescription()
A description of the import task.
public ImportImageTask withDescription(java.lang.String description)
A description of the import task.
description
- A description of the import task.public java.util.List<SnapshotDetail> getSnapshotDetails()
Information about the snapshots.
public void setSnapshotDetails(java.util.Collection<SnapshotDetail> snapshotDetails)
Information about the snapshots.
snapshotDetails
- Information about the snapshots.public ImportImageTask withSnapshotDetails(SnapshotDetail... snapshotDetails)
Information about the snapshots.
NOTE: This method appends the values to the existing list (if
any). Use setSnapshotDetails(java.util.Collection)
or
withSnapshotDetails(java.util.Collection)
if you want to
override the existing values.
snapshotDetails
- Information about the snapshots.public ImportImageTask withSnapshotDetails(java.util.Collection<SnapshotDetail> snapshotDetails)
Information about the snapshots.
snapshotDetails
- Information about the snapshots.public void setImageId(java.lang.String imageId)
The ID of the Amazon Machine Image (AMI) of the imported virtual machine.
imageId
- The ID of the Amazon Machine Image (AMI) of the imported virtual
machine.public java.lang.String getImageId()
The ID of the Amazon Machine Image (AMI) of the imported virtual machine.
public ImportImageTask withImageId(java.lang.String imageId)
The ID of the Amazon Machine Image (AMI) of the imported virtual machine.
imageId
- The ID of the Amazon Machine Image (AMI) of the imported virtual
machine.public void setProgress(java.lang.String progress)
The percentage of progress of the import image task.
progress
- The percentage of progress of the import image task.public java.lang.String getProgress()
The percentage of progress of the import image task.
public ImportImageTask withProgress(java.lang.String progress)
The percentage of progress of the import image task.
progress
- The percentage of progress of the import image task.public void setStatusMessage(java.lang.String statusMessage)
A descriptive status message for the import image task.
statusMessage
- A descriptive status message for the import image task.public java.lang.String getStatusMessage()
A descriptive status message for the import image task.
public ImportImageTask withStatusMessage(java.lang.String statusMessage)
A descriptive status message for the import image task.
statusMessage
- A descriptive status message for the import image task.public void setStatus(java.lang.String status)
A brief status for the import image task.
status
- A brief status for the import image task.public java.lang.String getStatus()
A brief status for the import image task.
public ImportImageTask withStatus(java.lang.String status)
A brief status for the import image task.
status
- A brief status for the import image task.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ImportImageTask clone()
clone
in class java.lang.Object