Class ImportImageResult

java.lang.Object
com.amazonaws.services.ec2.model.ImportImageResult
All Implemented Interfaces:
Serializable, Cloneable

public class ImportImageResult extends Object implements Serializable, Cloneable

Contains the output for ImportImage.

See Also:
  • Constructor Details

    • ImportImageResult

      public ImportImageResult()
  • Method Details

    • setImportTaskId

      public void setImportTaskId(String importTaskId)

      The task ID of the import image task.

      Parameters:
      importTaskId - The task ID of the import image task.
    • getImportTaskId

      public String getImportTaskId()

      The task ID of the import image task.

      Returns:
      The task ID of the import image task.
    • withImportTaskId

      public ImportImageResult withImportTaskId(String importTaskId)

      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

      public void setArchitecture(String architecture)

      The architecture of the virtual machine.

      Parameters:
      architecture - The architecture of the virtual machine.
    • getArchitecture

      public String getArchitecture()

      The architecture of the virtual machine.

      Returns:
      The architecture of the virtual machine.
    • withArchitecture

      public ImportImageResult withArchitecture(String architecture)

      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

      public void setLicenseType(String licenseType)

      The license type of the virtual machine.

      Parameters:
      licenseType - The license type of the virtual machine.
    • getLicenseType

      public String getLicenseType()

      The license type of the virtual machine.

      Returns:
      The license type of the virtual machine.
    • withLicenseType

      public ImportImageResult withLicenseType(String licenseType)

      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

      public void setPlatform(String platform)

      The operating system of the virtual machine.

      Parameters:
      platform - The operating system of the virtual machine.
    • getPlatform

      public String getPlatform()

      The operating system of the virtual machine.

      Returns:
      The operating system of the virtual machine.
    • withPlatform

      public ImportImageResult withPlatform(String platform)

      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

      public void setHypervisor(String hypervisor)

      The target hypervisor of the import task.

      Parameters:
      hypervisor - The target hypervisor of the import task.
    • getHypervisor

      public String getHypervisor()

      The target hypervisor of the import task.

      Returns:
      The target hypervisor of the import task.
    • withHypervisor

      public ImportImageResult withHypervisor(String hypervisor)

      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

      public void setDescription(String description)

      A description of the import task.

      Parameters:
      description - A description of the import task.
    • getDescription

      public String getDescription()

      A description of the import task.

      Returns:
      A description of the import task.
    • withDescription

      public ImportImageResult withDescription(String description)

      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

      public List<SnapshotDetail> getSnapshotDetails()

      Information about the snapshots.

      Returns:
      Information about the snapshots.
    • setSnapshotDetails

      public void setSnapshotDetails(Collection<SnapshotDetail> snapshotDetails)

      Information about the snapshots.

      Parameters:
      snapshotDetails - Information about the snapshots.
    • withSnapshotDetails

      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.

      Parameters:
      snapshotDetails - Information about the snapshots.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withSnapshotDetails

      public ImportImageResult withSnapshotDetails(Collection<SnapshotDetail> snapshotDetails)

      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

      public void setImageId(String imageId)

      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

      public String 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

      public ImportImageResult withImageId(String imageId)

      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

      public void setProgress(String progress)

      The progress of the task.

      Parameters:
      progress - The progress of the task.
    • getProgress

      public String getProgress()

      The progress of the task.

      Returns:
      The progress of the task.
    • withProgress

      public ImportImageResult withProgress(String progress)

      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

      public void setStatusMessage(String statusMessage)

      A detailed status message of the import task.

      Parameters:
      statusMessage - A detailed status message of the import task.
    • getStatusMessage

      public String getStatusMessage()

      A detailed status message of the import task.

      Returns:
      A detailed status message of the import task.
    • withStatusMessage

      public ImportImageResult withStatusMessage(String statusMessage)

      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

      public void setStatus(String status)

      A brief status of the task.

      Parameters:
      status - A brief status of the task.
    • getStatus

      public String getStatus()

      A brief status of the task.

      Returns:
      A brief status of the task.
    • withStatus

      public ImportImageResult withStatus(String status)

      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

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public ImportImageResult clone()
      Overrides:
      clone in class Object