Class ImportImageResult
- All Implemented Interfaces:
Serializable
,Cloneable
Contains the output for ImportImage.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The architecture of the virtual machine.A description of the import task.The target hypervisor of the import task.The ID of the Amazon Machine Image (AMI) created by the import task.The task ID of the import image task.The license type of the virtual machine.The operating system of the virtual machine.The progress of the task.Information about the snapshots.A brief status of the task.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
A brief status of the task.void
setStatusMessage
(String statusMessage) A detailed status message of the import task.toString()
Returns a string representation of this object; useful for testing and debugging.withArchitecture
(String architecture) The architecture of the virtual machine.withDescription
(String description) A description of the import task.withHypervisor
(String hypervisor) The target hypervisor of the import task.withImageId
(String imageId) The ID of the Amazon Machine Image (AMI) created by the import task.withImportTaskId
(String importTaskId) The task ID of the import image task.withLicenseType
(String licenseType) The license type of the virtual machine.withPlatform
(String platform) The operating system of the virtual machine.withProgress
(String progress) The progress of the task.withSnapshotDetails
(SnapshotDetail... snapshotDetails) Information about the snapshots.withSnapshotDetails
(Collection<SnapshotDetail> snapshotDetails) Information about the snapshots.withStatus
(String status) A brief status of the task.withStatusMessage
(String statusMessage) A detailed status message of the import task.
-
Constructor Details
-
ImportImageResult
public ImportImageResult()
-
-
Method Details
-
setImportTaskId
The task ID of the import image task.
- Parameters:
importTaskId
- The task ID of the import image task.
-
getImportTaskId
The task ID of the import image task.
- Returns:
- The task ID of the import image task.
-
withImportTaskId
The task ID of the import image task.
- Parameters:
importTaskId
- The task ID of the import image task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setArchitecture
The architecture of the virtual machine.
- Parameters:
architecture
- The architecture of the virtual machine.
-
getArchitecture
The architecture of the virtual machine.
- Returns:
- The architecture of the virtual machine.
-
withArchitecture
The architecture of the virtual machine.
- Parameters:
architecture
- The architecture of the virtual machine.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLicenseType
The license type of the virtual machine.
- Parameters:
licenseType
- The license type of the virtual machine.
-
getLicenseType
The license type of the virtual machine.
- Returns:
- The license type of the virtual machine.
-
withLicenseType
The license type of the virtual machine.
- Parameters:
licenseType
- The license type of the virtual machine.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPlatform
The operating system of the virtual machine.
- Parameters:
platform
- The operating system of the virtual machine.
-
getPlatform
The operating system of the virtual machine.
- Returns:
- The operating system of the virtual machine.
-
withPlatform
The operating system of the virtual machine.
- Parameters:
platform
- The operating system of the virtual machine.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setHypervisor
The target hypervisor of the import task.
- Parameters:
hypervisor
- The target hypervisor of the import task.
-
getHypervisor
The target hypervisor of the import task.
- Returns:
- The target hypervisor of the import task.
-
withHypervisor
The target hypervisor of the import task.
- Parameters:
hypervisor
- The target hypervisor of the import task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDescription
A description of the import task.
- Parameters:
description
- A description of the import task.
-
getDescription
A description of the import task.
- Returns:
- A description of the import task.
-
withDescription
A description of the import task.
- Parameters:
description
- A description of the import task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getSnapshotDetails
Information about the snapshots.
- Returns:
- Information about the snapshots.
-
setSnapshotDetails
Information about the snapshots.
- Parameters:
snapshotDetails
- Information about the snapshots.
-
withSnapshotDetails
Information about the snapshots.
NOTE: This method appends the values to the existing list (if any). Use
setSnapshotDetails(java.util.Collection)
orwithSnapshotDetails(java.util.Collection)
if you want to override the existing values.- Parameters:
snapshotDetails
- Information about the snapshots.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withSnapshotDetails
Information about the snapshots.
- Parameters:
snapshotDetails
- Information about the snapshots.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setImageId
The ID of the Amazon Machine Image (AMI) created by the import task.
- Parameters:
imageId
- The ID of the Amazon Machine Image (AMI) created by the import task.
-
getImageId
The ID of the Amazon Machine Image (AMI) created by the import task.
- Returns:
- The ID of the Amazon Machine Image (AMI) created by the import task.
-
withImageId
The ID of the Amazon Machine Image (AMI) created by the import task.
- Parameters:
imageId
- The ID of the Amazon Machine Image (AMI) created by the import task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setProgress
The progress of the task.
- Parameters:
progress
- The progress of the task.
-
getProgress
The progress of the task.
- Returns:
- The progress of the task.
-
withProgress
The progress of the task.
- Parameters:
progress
- The progress of the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStatusMessage
A detailed status message of the import task.
- Parameters:
statusMessage
- A detailed status message of the import task.
-
getStatusMessage
A detailed status message of the import task.
- Returns:
- A detailed status message of the import task.
-
withStatusMessage
A detailed status message of the import task.
- Parameters:
statusMessage
- A detailed status message of the import task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStatus
A brief status of the task.
- Parameters:
status
- A brief status of the task.
-
getStatus
A brief status of the task.
- Returns:
- A brief status of the task.
-
withStatus
A brief status of the task.
- Parameters:
status
- A brief status of the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-