public class ImportImageResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the output for ImportImage.
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 of the import task.
|
private java.lang.String |
imageId
The ID of the Amazon Machine Image (AMI) created by the import task.
|
private java.lang.String |
importTaskId
The task ID of the import image task.
|
private java.lang.String |
licenseType
The license type of the virtual machine.
|
private java.lang.String |
platform
The operating system of the virtual machine.
|
private java.lang.String |
progress
The progress of the task.
|
private SdkInternalList<SnapshotDetail> |
snapshotDetails
Information about the snapshots.
|
private java.lang.String |
status
A brief status of the task.
|
private java.lang.String |
statusMessage
A detailed status message of the import task.
|
Constructor and Description |
---|
ImportImageResult() |
Modifier and Type | Method and Description |
---|---|
ImportImageResult |
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 of the import task.
|
java.lang.String |
getImageId()
The ID of the Amazon Machine Image (AMI) created by the import task.
|
java.lang.String |
getImportTaskId()
The task ID of the import image task.
|
java.lang.String |
getLicenseType()
The license type of the virtual machine.
|
java.lang.String |
getPlatform()
The operating system of the virtual machine.
|
java.lang.String |
getProgress()
The progress of the task.
|
java.util.List<SnapshotDetail> |
getSnapshotDetails()
Information about the snapshots.
|
java.lang.String |
getStatus()
A brief status of the task.
|
java.lang.String |
getStatusMessage()
A detailed status message of the import 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 of the import task.
|
void |
setImageId(java.lang.String imageId)
The ID of the Amazon Machine Image (AMI) created by the import task.
|
void |
setImportTaskId(java.lang.String importTaskId)
The task 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 operating system of the virtual machine.
|
void |
setProgress(java.lang.String progress)
The progress of the task.
|
void |
setSnapshotDetails(java.util.Collection<SnapshotDetail> snapshotDetails)
Information about the snapshots.
|
void |
setStatus(java.lang.String status)
A brief status of the task.
|
void |
setStatusMessage(java.lang.String statusMessage)
A detailed status message of the import task.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ImportImageResult |
withArchitecture(java.lang.String architecture)
The architecture of the virtual machine.
|
ImportImageResult |
withDescription(java.lang.String description)
A description of the import task.
|
ImportImageResult |
withHypervisor(java.lang.String hypervisor)
The target hypervisor of the import task.
|
ImportImageResult |
withImageId(java.lang.String imageId)
The ID of the Amazon Machine Image (AMI) created by the import task.
|
ImportImageResult |
withImportTaskId(java.lang.String importTaskId)
The task ID of the import image task.
|
ImportImageResult |
withLicenseType(java.lang.String licenseType)
The license type of the virtual machine.
|
ImportImageResult |
withPlatform(java.lang.String platform)
The operating system of the virtual machine.
|
ImportImageResult |
withProgress(java.lang.String progress)
The progress of the task.
|
ImportImageResult |
withSnapshotDetails(java.util.Collection<SnapshotDetail> snapshotDetails)
Information about the snapshots.
|
ImportImageResult |
withSnapshotDetails(SnapshotDetail... snapshotDetails)
Information about the snapshots.
|
ImportImageResult |
withStatus(java.lang.String status)
A brief status of the task.
|
ImportImageResult |
withStatusMessage(java.lang.String statusMessage)
A detailed status message of the import task.
|
private java.lang.String importTaskId
The task ID of the import image task.
private java.lang.String architecture
The architecture of the virtual machine.
private java.lang.String licenseType
The license type of the virtual machine.
private java.lang.String platform
The operating system of the virtual machine.
private java.lang.String hypervisor
The target hypervisor of the import task.
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) created by the import task.
private java.lang.String progress
The progress of the task.
private java.lang.String statusMessage
A detailed status message of the import task.
private java.lang.String status
A brief status of the task.
public void setImportTaskId(java.lang.String importTaskId)
The task ID of the import image task.
importTaskId
- The task ID of the import image task.public java.lang.String getImportTaskId()
The task ID of the import image task.
public ImportImageResult withImportTaskId(java.lang.String importTaskId)
The task ID of the import image task.
importTaskId
- The task ID of the import image task.public void setArchitecture(java.lang.String architecture)
The architecture of the virtual machine.
architecture
- The architecture of the virtual machine.public java.lang.String getArchitecture()
The architecture of the virtual machine.
public ImportImageResult withArchitecture(java.lang.String architecture)
The architecture of the virtual machine.
architecture
- The architecture of the virtual machine.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 ImportImageResult 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 operating system of the virtual machine.
platform
- The operating system of the virtual machine.public java.lang.String getPlatform()
The operating system of the virtual machine.
public ImportImageResult withPlatform(java.lang.String platform)
The operating system of the virtual machine.
platform
- The operating system of the virtual machine.public void setHypervisor(java.lang.String hypervisor)
The target hypervisor of the import task.
hypervisor
- The target hypervisor of the import task.public java.lang.String getHypervisor()
The target hypervisor of the import task.
public ImportImageResult withHypervisor(java.lang.String hypervisor)
The target hypervisor of the import task.
hypervisor
- The target hypervisor of the import task.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 ImportImageResult 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 ImportImageResult 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 ImportImageResult 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) created by the import task.
imageId
- The ID of the Amazon Machine Image (AMI) created by the import
task.public java.lang.String getImageId()
The ID of the Amazon Machine Image (AMI) created by the import task.
public ImportImageResult withImageId(java.lang.String imageId)
The ID of the Amazon Machine Image (AMI) created by the import task.
imageId
- The ID of the Amazon Machine Image (AMI) created by the import
task.public void setProgress(java.lang.String progress)
The progress of the task.
progress
- The progress of the task.public java.lang.String getProgress()
The progress of the task.
public ImportImageResult withProgress(java.lang.String progress)
The progress of the task.
progress
- The progress of the task.public void setStatusMessage(java.lang.String statusMessage)
A detailed status message of the import task.
statusMessage
- A detailed status message of the import task.public java.lang.String getStatusMessage()
A detailed status message of the import task.
public ImportImageResult withStatusMessage(java.lang.String statusMessage)
A detailed status message of the import task.
statusMessage
- A detailed status message of the import task.public void setStatus(java.lang.String status)
A brief status of the task.
status
- A brief status of the task.public java.lang.String getStatus()
A brief status of the task.
public ImportImageResult withStatus(java.lang.String status)
A brief status of the task.
status
- A brief status of the 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 ImportImageResult clone()
clone
in class java.lang.Object