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