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