@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImportImageResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
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.
|
Boolean |
getEncrypted()
Indicates whether the AMI is encrypted.
|
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 |
getKmsKeyId()
The identifier for the symmetric KMS key that was used to create the encrypted AMI.
|
List<ImportImageLicenseConfigurationResponse> |
getLicenseSpecifications()
The ARNs of the license configurations.
|
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.
|
List<Tag> |
getTags()
Any tags assigned to the import image task.
|
String |
getUsageOperation()
The usage operation value.
|
int |
hashCode() |
Boolean |
isEncrypted()
Indicates whether the AMI is encrypted.
|
void |
setArchitecture(String architecture)
The architecture of the virtual machine.
|
void |
setDescription(String description)
A description of the import task.
|
void |
setEncrypted(Boolean encrypted)
Indicates whether the AMI is encrypted.
|
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 |
setKmsKeyId(String kmsKeyId)
The identifier for the symmetric KMS key that was used to create the encrypted AMI.
|
void |
setLicenseSpecifications(Collection<ImportImageLicenseConfigurationResponse> licenseSpecifications)
The ARNs of the license configurations.
|
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.
|
void |
setTags(Collection<Tag> tags)
Any tags assigned to the import image task.
|
void |
setUsageOperation(String usageOperation)
The usage operation value.
|
String |
toString()
Returns a string representation of this object.
|
ImportImageResult |
withArchitecture(String architecture)
The architecture of the virtual machine.
|
ImportImageResult |
withDescription(String description)
A description of the import task.
|
ImportImageResult |
withEncrypted(Boolean encrypted)
Indicates whether the AMI is encrypted.
|
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 |
withKmsKeyId(String kmsKeyId)
The identifier for the symmetric KMS key that was used to create the encrypted AMI.
|
ImportImageResult |
withLicenseSpecifications(Collection<ImportImageLicenseConfigurationResponse> licenseSpecifications)
The ARNs of the license configurations.
|
ImportImageResult |
withLicenseSpecifications(ImportImageLicenseConfigurationResponse... licenseSpecifications)
The ARNs of the license configurations.
|
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.
|
ImportImageResult |
withTags(Collection<Tag> tags)
Any tags assigned to the import image task.
|
ImportImageResult |
withTags(Tag... tags)
Any tags assigned to the import image task.
|
ImportImageResult |
withUsageOperation(String usageOperation)
The usage operation value.
|
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 setEncrypted(Boolean encrypted)
Indicates whether the AMI is encrypted.
encrypted
- Indicates whether the AMI is encrypted.public Boolean getEncrypted()
Indicates whether the AMI is encrypted.
public ImportImageResult withEncrypted(Boolean encrypted)
Indicates whether the AMI is encrypted.
encrypted
- Indicates whether the AMI is encrypted.public Boolean isEncrypted()
Indicates whether the AMI is encrypted.
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 setKmsKeyId(String kmsKeyId)
The identifier for the symmetric KMS key that was used to create the encrypted AMI.
kmsKeyId
- The identifier for the symmetric KMS key that was used to create the encrypted AMI.public String getKmsKeyId()
The identifier for the symmetric KMS key that was used to create the encrypted AMI.
public ImportImageResult withKmsKeyId(String kmsKeyId)
The identifier for the symmetric KMS key that was used to create the encrypted AMI.
kmsKeyId
- The identifier for the symmetric KMS key that was used to create the encrypted AMI.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 List<ImportImageLicenseConfigurationResponse> getLicenseSpecifications()
The ARNs of the license configurations.
public void setLicenseSpecifications(Collection<ImportImageLicenseConfigurationResponse> licenseSpecifications)
The ARNs of the license configurations.
licenseSpecifications
- The ARNs of the license configurations.public ImportImageResult withLicenseSpecifications(ImportImageLicenseConfigurationResponse... licenseSpecifications)
The ARNs of the license configurations.
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.public ImportImageResult withLicenseSpecifications(Collection<ImportImageLicenseConfigurationResponse> licenseSpecifications)
The ARNs of the license configurations.
licenseSpecifications
- The ARNs of the license configurations.public List<Tag> getTags()
Any tags assigned to the import image task.
public void setTags(Collection<Tag> tags)
Any tags assigned to the import image task.
tags
- Any tags assigned to the import image task.public ImportImageResult withTags(Tag... tags)
Any tags assigned to 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
- Any tags assigned to the import image task.public ImportImageResult withTags(Collection<Tag> tags)
Any tags assigned to the import image task.
tags
- Any tags assigned to 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 ImportImageResult withUsageOperation(String usageOperation)
The usage operation value.
usageOperation
- The usage operation value.public String toString()
toString
in class Object
Object.toString()
public ImportImageResult clone()