Class ImportVolumeTaskDetails

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

public class ImportVolumeTaskDetails extends Object implements Serializable, Cloneable

Describes an import volume task.

See Also:
  • Constructor Details

    • ImportVolumeTaskDetails

      public ImportVolumeTaskDetails()
  • 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 ImportVolumeTaskDetails 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 volume will reside.

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

      public String getAvailabilityZone()

      The Availability Zone where the resulting volume will reside.

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

      public ImportVolumeTaskDetails withAvailabilityZone(String availabilityZone)

      The Availability Zone where the resulting volume will reside.

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

      public void setDescription(String description)

      The description you provided when starting the import volume task.

      Parameters:
      description - The description you provided when starting the import volume task.
    • getDescription

      public String getDescription()

      The description you provided when starting the import volume task.

      Returns:
      The description you provided when starting the import volume task.
    • withDescription

      public ImportVolumeTaskDetails withDescription(String description)

      The description you provided when starting the import volume task.

      Parameters:
      description - The description you provided when starting the import volume task.
      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.
    • 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 ImportVolumeTaskDetails clone()
      Overrides:
      clone in class Object