@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImportImageTask extends Object implements Serializable, Cloneable
Describes an import image task.
Constructor and Description |
---|
ImportImageTask() |
Modifier and Type | Method and Description |
---|---|
ImportImageTask |
clone() |
boolean |
equals(Object obj) |
String |
getArchitecture()
The architecture of the virtual machine.
|
String |
getBootMode()
The boot mode of the virtual machine.
|
String |
getDescription()
A description of the import task.
|
Boolean |
getEncrypted()
Indicates whether the image is encrypted.
|
String |
getHypervisor()
The target hypervisor for the import task.
|
String |
getImageId()
The ID of the Amazon Machine Image (AMI) of the imported virtual machine.
|
String |
getImportTaskId()
The ID of the import image task.
|
String |
getKmsKeyId()
The identifier for the KMS key that was used to create the encrypted image.
|
List<ImportImageLicenseConfigurationResponse> |
getLicenseSpecifications()
The ARNs of the license configurations that are associated with the import image task.
|
String |
getLicenseType()
The license type of the virtual machine.
|
String |
getPlatform()
The description string for the import image task.
|
String |
getProgress()
The percentage of progress of the import image task.
|
List<SnapshotDetail> |
getSnapshotDetails()
Information about the snapshots.
|
String |
getStatus()
A brief status for the import image task.
|
String |
getStatusMessage()
A descriptive status message for the import image task.
|
List<Tag> |
getTags()
The tags for the import image task.
|
String |
getUsageOperation()
The usage operation value.
|
int |
hashCode() |
Boolean |
isEncrypted()
Indicates whether the image is encrypted.
|
void |
setArchitecture(String architecture)
The architecture of the virtual machine.
|
void |
setBootMode(String bootMode)
The boot mode of the virtual machine.
|
void |
setDescription(String description)
A description of the import task.
|
void |
setEncrypted(Boolean encrypted)
Indicates whether the image is encrypted.
|
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 |
setKmsKeyId(String kmsKeyId)
The identifier for the KMS key that was used to create the encrypted image.
|
void |
setLicenseSpecifications(Collection<ImportImageLicenseConfigurationResponse> licenseSpecifications)
The ARNs of the license configurations that are associated with 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 |
setStatus(String status)
A brief status for the import image task.
|
void |
setStatusMessage(String statusMessage)
A descriptive status message for the import image task.
|
void |
setTags(Collection<Tag> tags)
The tags for the import image task.
|
void |
setUsageOperation(String usageOperation)
The usage operation value.
|
String |
toString()
Returns a string representation of this object.
|
ImportImageTask |
withArchitecture(String architecture)
The architecture of the virtual machine.
|
ImportImageTask |
withBootMode(BootModeValues bootMode)
The boot mode of the virtual machine.
|
ImportImageTask |
withBootMode(String bootMode)
The boot mode of the virtual machine.
|
ImportImageTask |
withDescription(String description)
A description of the import task.
|
ImportImageTask |
withEncrypted(Boolean encrypted)
Indicates whether the image is encrypted.
|
ImportImageTask |
withHypervisor(String hypervisor)
The target hypervisor for the import task.
|
ImportImageTask |
withImageId(String imageId)
The ID of the Amazon Machine Image (AMI) of the imported virtual machine.
|
ImportImageTask |
withImportTaskId(String importTaskId)
The ID of the import image task.
|
ImportImageTask |
withKmsKeyId(String kmsKeyId)
The identifier for the KMS key that was used to create the encrypted image.
|
ImportImageTask |
withLicenseSpecifications(Collection<ImportImageLicenseConfigurationResponse> licenseSpecifications)
The ARNs of the license configurations that are associated with the import image task.
|
ImportImageTask |
withLicenseSpecifications(ImportImageLicenseConfigurationResponse... licenseSpecifications)
The ARNs of the license configurations that are associated with the import image task.
|
ImportImageTask |
withLicenseType(String licenseType)
The license type of the virtual machine.
|
ImportImageTask |
withPlatform(String platform)
The description string for the import image task.
|
ImportImageTask |
withProgress(String progress)
The percentage of progress of the import image task.
|
ImportImageTask |
withSnapshotDetails(Collection<SnapshotDetail> snapshotDetails)
Information about the snapshots.
|
ImportImageTask |
withSnapshotDetails(SnapshotDetail... snapshotDetails)
Information about the snapshots.
|
ImportImageTask |
withStatus(String status)
A brief status for the import image task.
|
ImportImageTask |
withStatusMessage(String statusMessage)
A descriptive status message for the import image task.
|
ImportImageTask |
withTags(Collection<Tag> tags)
The tags for the import image task.
|
ImportImageTask |
withTags(Tag... tags)
The tags for the import image task.
|
ImportImageTask |
withUsageOperation(String usageOperation)
The usage operation value.
|
public void setArchitecture(String architecture)
The architecture of the virtual machine.
Valid values: i386
| x86_64
| arm64
architecture
- The architecture of the virtual machine.
Valid values: i386
| x86_64
| arm64
public String getArchitecture()
The architecture of the virtual machine.
Valid values: i386
| x86_64
| arm64
Valid values: i386
| x86_64
| arm64
public ImportImageTask withArchitecture(String architecture)
The architecture of the virtual machine.
Valid values: i386
| x86_64
| arm64
architecture
- The architecture of the virtual machine.
Valid values: i386
| x86_64
| arm64
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 ImportImageTask withDescription(String description)
A description of the import task.
description
- A description of the import task.public void setEncrypted(Boolean encrypted)
Indicates whether the image is encrypted.
encrypted
- Indicates whether the image is encrypted.public Boolean getEncrypted()
Indicates whether the image is encrypted.
public ImportImageTask withEncrypted(Boolean encrypted)
Indicates whether the image is encrypted.
encrypted
- Indicates whether the image is encrypted.public Boolean isEncrypted()
Indicates whether the image is encrypted.
public void setHypervisor(String hypervisor)
The target hypervisor for the import task.
Valid values: xen
hypervisor
- The target hypervisor for the import task.
Valid values: xen
public String getHypervisor()
The target hypervisor for the import task.
Valid values: xen
Valid values: xen
public ImportImageTask withHypervisor(String hypervisor)
The target hypervisor for the import task.
Valid values: xen
hypervisor
- The target hypervisor for the import task.
Valid values: xen
public void setImageId(String imageId)
The ID of the Amazon Machine Image (AMI) of the imported virtual machine.
imageId
- The ID of the Amazon Machine Image (AMI) of the imported virtual machine.public String getImageId()
The ID of the Amazon Machine Image (AMI) of the imported virtual machine.
public ImportImageTask withImageId(String imageId)
The ID of the Amazon Machine Image (AMI) of the imported virtual machine.
imageId
- The ID of the Amazon Machine Image (AMI) of the imported virtual machine.public void setImportTaskId(String importTaskId)
The ID of the import image task.
importTaskId
- The ID of the import image task.public String getImportTaskId()
The ID of the import image task.
public ImportImageTask withImportTaskId(String importTaskId)
The ID of the import image task.
importTaskId
- The ID of the import image task.public void setKmsKeyId(String kmsKeyId)
The identifier for the KMS key that was used to create the encrypted image.
kmsKeyId
- The identifier for the KMS key that was used to create the encrypted image.public String getKmsKeyId()
The identifier for the KMS key that was used to create the encrypted image.
public ImportImageTask withKmsKeyId(String kmsKeyId)
The identifier for the KMS key that was used to create the encrypted image.
kmsKeyId
- The identifier for the KMS key that was used to create the encrypted image.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 ImportImageTask withLicenseType(String licenseType)
The license type of the virtual machine.
licenseType
- The license type of the virtual machine.public void setPlatform(String platform)
The description string for the import image task.
platform
- The description string for the import image task.public String getPlatform()
The description string for the import image task.
public ImportImageTask withPlatform(String platform)
The description string for the import image task.
platform
- The description string for the import image task.public void setProgress(String progress)
The percentage of progress of the import image task.
progress
- The percentage of progress of the import image task.public String getProgress()
The percentage of progress of the import image task.
public ImportImageTask withProgress(String progress)
The percentage of progress of the import image task.
progress
- The percentage of progress of the import image 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 ImportImageTask 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 ImportImageTask withSnapshotDetails(Collection<SnapshotDetail> snapshotDetails)
Information about the snapshots.
snapshotDetails
- Information about the snapshots.public void setStatus(String status)
A brief status for the import image task.
status
- A brief status for the import image task.public String getStatus()
A brief status for the import image task.
public ImportImageTask withStatus(String status)
A brief status for the import image task.
status
- A brief status for the import image task.public void setStatusMessage(String statusMessage)
A descriptive status message for the import image task.
statusMessage
- A descriptive status message for the import image task.public String getStatusMessage()
A descriptive status message for the import image task.
public ImportImageTask withStatusMessage(String statusMessage)
A descriptive status message for the import image task.
statusMessage
- A descriptive status message for the import image task.public List<Tag> getTags()
The tags for the import image task.
public void setTags(Collection<Tag> tags)
The tags for the import image task.
tags
- The tags for the import image task.public ImportImageTask withTags(Tag... tags)
The tags for the import image task.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The tags for the import image task.public ImportImageTask withTags(Collection<Tag> tags)
The tags for the import image task.
tags
- The tags for the import image task.public List<ImportImageLicenseConfigurationResponse> getLicenseSpecifications()
The ARNs of the license configurations that are associated with the import image task.
public void setLicenseSpecifications(Collection<ImportImageLicenseConfigurationResponse> licenseSpecifications)
The ARNs of the license configurations that are associated with the import image task.
licenseSpecifications
- The ARNs of the license configurations that are associated with the import image task.public ImportImageTask withLicenseSpecifications(ImportImageLicenseConfigurationResponse... licenseSpecifications)
The ARNs of the license configurations that are associated with the import image task.
NOTE: This method appends the values to the existing list (if any). Use
setLicenseSpecifications(java.util.Collection)
or
withLicenseSpecifications(java.util.Collection)
if you want to override the existing values.
licenseSpecifications
- The ARNs of the license configurations that are associated with the import image task.public ImportImageTask withLicenseSpecifications(Collection<ImportImageLicenseConfigurationResponse> licenseSpecifications)
The ARNs of the license configurations that are associated with the import image task.
licenseSpecifications
- The ARNs of the license configurations that are associated with the import image task.public void setUsageOperation(String usageOperation)
The usage operation value.
usageOperation
- The usage operation value.public String getUsageOperation()
The usage operation value.
public ImportImageTask withUsageOperation(String usageOperation)
The usage operation value.
usageOperation
- The usage operation value.public void setBootMode(String bootMode)
The boot mode of the virtual machine.
bootMode
- The boot mode of the virtual machine.BootModeValues
public String getBootMode()
The boot mode of the virtual machine.
BootModeValues
public ImportImageTask withBootMode(String bootMode)
The boot mode of the virtual machine.
bootMode
- The boot mode of the virtual machine.BootModeValues
public ImportImageTask withBootMode(BootModeValues bootMode)
The boot mode of the virtual machine.
bootMode
- The boot mode of the virtual machine.BootModeValues
public String toString()
toString
in class Object
Object.toString()
public ImportImageTask clone()