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