Class ImportInstanceVolumeDetailItem

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

public class ImportInstanceVolumeDetailItem extends Object implements Serializable, Cloneable

Describes an import volume task.

See Also:
  • Constructor Details

    • ImportInstanceVolumeDetailItem

      public ImportInstanceVolumeDetailItem()
  • Method Details

    • setBytesConverted

      public void setBytesConverted(Long bytesConverted)

      The number of bytes converted so far.

      Parameters:
      bytesConverted - The number of bytes converted so far.
    • getBytesConverted

      public Long getBytesConverted()

      The number of bytes converted so far.

      Returns:
      The number of bytes converted so far.
    • withBytesConverted

      public ImportInstanceVolumeDetailItem withBytesConverted(Long bytesConverted)

      The number of bytes converted so far.

      Parameters:
      bytesConverted - The number of bytes converted so far.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setAvailabilityZone

      public void setAvailabilityZone(String availabilityZone)

      The Availability Zone where the resulting instance will reside.

      Parameters:
      availabilityZone - The Availability Zone where the resulting instance will reside.
    • getAvailabilityZone

      public String getAvailabilityZone()

      The Availability Zone where the resulting instance will reside.

      Returns:
      The Availability Zone where the resulting instance will reside.
    • withAvailabilityZone

      public ImportInstanceVolumeDetailItem withAvailabilityZone(String availabilityZone)

      The Availability Zone where the resulting instance will reside.

      Parameters:
      availabilityZone - The Availability Zone where the resulting instance will reside.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setImage

      public void setImage(DiskImageDescription image)

      The image.

      Parameters:
      image - The image.
    • getImage

      public DiskImageDescription getImage()

      The image.

      Returns:
      The image.
    • withImage

      The image.

      Parameters:
      image - The image.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setVolume

      public void setVolume(DiskImageVolumeDescription volume)

      The volume.

      Parameters:
      volume - The volume.
    • getVolume

      public DiskImageVolumeDescription getVolume()

      The volume.

      Returns:
      The volume.
    • withVolume

      The volume.

      Parameters:
      volume - The volume.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setStatus

      public void setStatus(String status)

      The status of the import of this particular disk image.

      Parameters:
      status - The status of the import of this particular disk image.
    • getStatus

      public String getStatus()

      The status of the import of this particular disk image.

      Returns:
      The status of the import of this particular disk image.
    • withStatus

      public ImportInstanceVolumeDetailItem withStatus(String status)

      The status of the import of this particular disk image.

      Parameters:
      status - The status of the import of this particular disk image.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setStatusMessage

      public void setStatusMessage(String statusMessage)

      The status information or errors related to the disk image.

      Parameters:
      statusMessage - The status information or errors related to the disk image.
    • getStatusMessage

      public String getStatusMessage()

      The status information or errors related to the disk image.

      Returns:
      The status information or errors related to the disk image.
    • withStatusMessage

      public ImportInstanceVolumeDetailItem withStatusMessage(String statusMessage)

      The status information or errors related to the disk image.

      Parameters:
      statusMessage - The status information or errors related to the disk image.
      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 task.

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

      public String getDescription()

      A description of the task.

      Returns:
      A description of the task.
    • withDescription

      public ImportInstanceVolumeDetailItem withDescription(String description)

      A description of the task.

      Parameters:
      description - A description 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

      Overrides:
      clone in class Object