@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImportImageTask extends Object implements Serializable, Cloneable
Describes an import image task.
Constructor and Description |
---|
ImportImageTask() |
Modifier and Type | Method and Description |
---|---|
ImportImageTask |
clone() |
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 void setArchitecture(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 String getArchitecture()
The architecture of the virtual machine.
Valid values: i386
| x86_64
Valid values: i386
| x86_64
public ImportImageTask withArchitecture(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 setDescription(String description)
A description of the import task.
description
- A description of the import task.public String getDescription()
A description of the import task.
public ImportImageTask withDescription(String description)
A description of the import task.
description
- A description of the import task.public void setHypervisor(String hypervisor)
The target hypervisor for the import task.
Valid values: xen
hypervisor
- The target hypervisor for the import task.
Valid values: xen
public String getHypervisor()
The target hypervisor for the import task.
Valid values: xen
Valid values: xen
public ImportImageTask withHypervisor(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 setImageId(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 String getImageId()
The ID of the Amazon Machine Image (AMI) of the imported virtual machine.
public ImportImageTask withImageId(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 setImportTaskId(String importTaskId)
The ID of the import image task.
importTaskId
- The ID of the import image task.public String getImportTaskId()
The ID of the import image task.
public ImportImageTask withImportTaskId(String importTaskId)
The ID of the import image task.
importTaskId
- The ID of the import image task.public void setLicenseType(String licenseType)
The license type of the virtual machine.
licenseType
- The license type of the virtual machine.public String getLicenseType()
The license type of the virtual machine.
public ImportImageTask withLicenseType(String licenseType)
The license type of the virtual machine.
licenseType
- The license type of the virtual machine.public void setPlatform(String platform)
The description string for the import image task.
platform
- The description string for the import image task.public String getPlatform()
The description string for the import image task.
public ImportImageTask withPlatform(String platform)
The description string for the import image task.
platform
- The description string for the import image task.public void setProgress(String progress)
The percentage of progress of the import image task.
progress
- The percentage of progress of the import image task.public String getProgress()
The percentage of progress of the import image task.
public ImportImageTask withProgress(String progress)
The percentage of progress of the import image task.
progress
- The percentage of progress of the import image task.public List<SnapshotDetail> getSnapshotDetails()
Information about the snapshots.
public void setSnapshotDetails(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(Collection<SnapshotDetail> snapshotDetails)
Information about the snapshots.
snapshotDetails
- Information about the snapshots.public void setStatus(String status)
A brief status for the import image task.
status
- A brief status for the import image task.public String getStatus()
A brief status for the import image task.
public ImportImageTask withStatus(String status)
A brief status for the import image task.
status
- A brief status for the import image task.public void setStatusMessage(String statusMessage)
A descriptive status message for the import image task.
statusMessage
- A descriptive status message for the import image task.public String getStatusMessage()
A descriptive status message for the import image task.
public ImportImageTask withStatusMessage(String statusMessage)
A descriptive status message for the import image task.
statusMessage
- A descriptive status message for the import image task.public String toString()
toString
in class Object
Object.toString()
public ImportImageTask clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.