Class ImportImageTask
- All Implemented Interfaces:
Serializable
,Cloneable
Describes an import image task.
- 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 for the import task.The ID of the Amazon Machine Image (AMI) of the imported virtual machine.The ID of the import image task.The license type of the virtual machine.The description string for the import image task.The percentage of progress of the import image task.Information about the snapshots.A brief status for the import image task.A descriptive status message for the import image 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 for the import task.void
setImageId
(String imageId) The ID of the Amazon Machine Image (AMI) of the imported virtual machine.void
setImportTaskId
(String importTaskId) The ID of the import image task.void
setLicenseType
(String licenseType) The license type of the virtual machine.void
setPlatform
(String platform) The description string for the import image task.void
setProgress
(String progress) The percentage of progress of the import image task.void
setSnapshotDetails
(Collection<SnapshotDetail> snapshotDetails) Information about the snapshots.void
A brief status for the import image task.void
setStatusMessage
(String statusMessage) A descriptive status message for the import image 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 for the import task.withImageId
(String imageId) The ID of the Amazon Machine Image (AMI) of the imported virtual machine.withImportTaskId
(String importTaskId) The ID of the import image task.withLicenseType
(String licenseType) The license type of the virtual machine.withPlatform
(String platform) The description string for the import image task.withProgress
(String progress) The percentage of progress of the import image task.withSnapshotDetails
(SnapshotDetail... snapshotDetails) Information about the snapshots.withSnapshotDetails
(Collection<SnapshotDetail> snapshotDetails) Information about the snapshots.withStatus
(String status) A brief status for the import image task.withStatusMessage
(String statusMessage) A descriptive status message for the import image task.
-
Constructor Details
-
ImportImageTask
public ImportImageTask()
-
-
Method Details
-
setImportTaskId
The ID of the import image task.
- Parameters:
importTaskId
- The ID of the import image task.
-
getImportTaskId
The ID of the import image task.
- Returns:
- The ID of the import image task.
-
withImportTaskId
The ID of the import image task.
- Parameters:
importTaskId
- The 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.
Valid values:
i386
|x86_64
- Parameters:
architecture
- The architecture of the virtual machine.Valid values:
i386
|x86_64
-
getArchitecture
The architecture of the virtual machine.
Valid values:
i386
|x86_64
- Returns:
- The architecture of the virtual machine.
Valid values:
i386
|x86_64
-
withArchitecture
The architecture of the virtual machine.
Valid values:
i386
|x86_64
- Parameters:
architecture
- The architecture of the virtual machine.Valid values:
i386
|x86_64
- 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 description string for the import image task.
- Parameters:
platform
- The description string for the import image task.
-
getPlatform
The description string for the import image task.
- Returns:
- The description string for the import image task.
-
withPlatform
The description string for the import image task.
- Parameters:
platform
- The description string for the import image task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setHypervisor
The target hypervisor for the import task.
Valid values:
xen
- Parameters:
hypervisor
- The target hypervisor for the import task.Valid values:
xen
-
getHypervisor
The target hypervisor for the import task.
Valid values:
xen
- Returns:
- The target hypervisor for the import task.
Valid values:
xen
-
withHypervisor
The target hypervisor for the import task.
Valid values:
xen
- Parameters:
hypervisor
- The target hypervisor for the import task.Valid values:
xen
- 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) of the imported virtual machine.
- Parameters:
imageId
- The ID of the Amazon Machine Image (AMI) of the imported virtual machine.
-
getImageId
The ID of the Amazon Machine Image (AMI) of the imported virtual machine.
- Returns:
- The ID of the Amazon Machine Image (AMI) of the imported virtual machine.
-
withImageId
The ID of the Amazon Machine Image (AMI) of the imported virtual machine.
- Parameters:
imageId
- The ID of the Amazon Machine Image (AMI) of the imported virtual machine.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setProgress
The percentage of progress of the import image task.
- Parameters:
progress
- The percentage of progress of the import image task.
-
getProgress
The percentage of progress of the import image task.
- Returns:
- The percentage of progress of the import image task.
-
withProgress
The percentage of progress of the import image task.
- Parameters:
progress
- The percentage of progress of the import image task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStatusMessage
A descriptive status message for the import image task.
- Parameters:
statusMessage
- A descriptive status message for the import image task.
-
getStatusMessage
A descriptive status message for the import image task.
- Returns:
- A descriptive status message for the import image task.
-
withStatusMessage
A descriptive status message for the import image task.
- Parameters:
statusMessage
- A descriptive status message for the import image task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStatus
A brief status for the import image task.
- Parameters:
status
- A brief status for the import image task.
-
getStatus
A brief status for the import image task.
- Returns:
- A brief status for the import image task.
-
withStatus
A brief status for the import image task.
- Parameters:
status
- A brief status for the import image 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
-