@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImportImageResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the output for ImportImage.
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.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setArchitecture(String architecture)
The architecture of the virtual machine.
architecture
- The architecture of the virtual machine.public String getArchitecture()
The architecture of the virtual machine.
public ImportImageResult withArchitecture(String architecture)
The architecture of the virtual machine.
architecture
- The architecture of the virtual machine.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 ImportImageResult withDescription(String description)
A description of the import task.
description
- A description of the import task.public void setHypervisor(String hypervisor)
The target hypervisor of the import task.
hypervisor
- The target hypervisor of the import task.public String getHypervisor()
The target hypervisor of the import task.
public ImportImageResult withHypervisor(String hypervisor)
The target hypervisor of the import task.
hypervisor
- The target hypervisor of the import task.public void setImageId(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 String getImageId()
The ID of the Amazon Machine Image (AMI) created by the import task.
public ImportImageResult withImageId(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 setImportTaskId(String importTaskId)
The task ID of the import image task.
importTaskId
- The task ID of the import image task.public String getImportTaskId()
The task ID of the import image task.
public ImportImageResult withImportTaskId(String importTaskId)
The task ID of the import image task.
importTaskId
- The task 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 ImportImageResult withLicenseType(String licenseType)
The license type of the virtual machine.
licenseType
- The license type of the virtual machine.public void setPlatform(String platform)
The operating system of the virtual machine.
platform
- The operating system of the virtual machine.public String getPlatform()
The operating system of the virtual machine.
public ImportImageResult withPlatform(String platform)
The operating system of the virtual machine.
platform
- The operating system of the virtual machine.public void setProgress(String progress)
The progress of the task.
progress
- The progress of the task.public String getProgress()
The progress of the task.
public ImportImageResult withProgress(String progress)
The progress of the task.
progress
- The progress of the 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 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(Collection<SnapshotDetail> snapshotDetails)
Information about the snapshots.
snapshotDetails
- Information about the snapshots.public void setStatus(String status)
A brief status of the task.
status
- A brief status of the task.public String getStatus()
A brief status of the task.
public ImportImageResult withStatus(String status)
A brief status of the task.
status
- A brief status of the task.public void setStatusMessage(String statusMessage)
A detailed status message of the import task.
statusMessage
- A detailed status message of the import task.public String getStatusMessage()
A detailed status message of the import task.
public ImportImageResult withStatusMessage(String statusMessage)
A detailed status message of the import task.
statusMessage
- A detailed status message of the import task.public String toString()
toString
in class Object
Object.toString()
public ImportImageResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.