Class SnapshotDetail

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

public class SnapshotDetail extends Object implements Serializable, Cloneable

Describes the snapshot created from the imported disk.

See Also:
  • Constructor Details

    • SnapshotDetail

      public SnapshotDetail()
  • Method Details

    • setDiskImageSize

      public void setDiskImageSize(Double diskImageSize)

      The size of the disk in the snapshot, in GiB.

      Parameters:
      diskImageSize - The size of the disk in the snapshot, in GiB.
    • getDiskImageSize

      public Double getDiskImageSize()

      The size of the disk in the snapshot, in GiB.

      Returns:
      The size of the disk in the snapshot, in GiB.
    • withDiskImageSize

      public SnapshotDetail withDiskImageSize(Double diskImageSize)

      The size of the disk in the snapshot, in GiB.

      Parameters:
      diskImageSize - The size of the disk in the snapshot, in GiB.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setDescription

      public void setDescription(String description)

      A description for the snapshot.

      Parameters:
      description - A description for the snapshot.
    • getDescription

      public String getDescription()

      A description for the snapshot.

      Returns:
      A description for the snapshot.
    • withDescription

      public SnapshotDetail withDescription(String description)

      A description for the snapshot.

      Parameters:
      description - A description for the snapshot.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setFormat

      public void setFormat(String format)

      The format of the disk image from which the snapshot is created.

      Parameters:
      format - The format of the disk image from which the snapshot is created.
    • getFormat

      public String getFormat()

      The format of the disk image from which the snapshot is created.

      Returns:
      The format of the disk image from which the snapshot is created.
    • withFormat

      public SnapshotDetail withFormat(String format)

      The format of the disk image from which the snapshot is created.

      Parameters:
      format - The format of the disk image from which the snapshot is created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setUrl

      public void setUrl(String url)

      The URL used to access the disk image.

      Parameters:
      url - The URL used to access the disk image.
    • getUrl

      public String getUrl()

      The URL used to access the disk image.

      Returns:
      The URL used to access the disk image.
    • withUrl

      public SnapshotDetail withUrl(String url)

      The URL used to access the disk image.

      Parameters:
      url - The URL used to access the disk image.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setUserBucket

      public void setUserBucket(UserBucketDetails userBucket)

      The S3 bucket for the disk image.

      Parameters:
      userBucket - The S3 bucket for the disk image.
    • getUserBucket

      public UserBucketDetails getUserBucket()

      The S3 bucket for the disk image.

      Returns:
      The S3 bucket for the disk image.
    • withUserBucket

      public SnapshotDetail withUserBucket(UserBucketDetails userBucket)

      The S3 bucket for the disk image.

      Parameters:
      userBucket - The S3 bucket for the disk image.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setDeviceName

      public void setDeviceName(String deviceName)

      The block device mapping for the snapshot.

      Parameters:
      deviceName - The block device mapping for the snapshot.
    • getDeviceName

      public String getDeviceName()

      The block device mapping for the snapshot.

      Returns:
      The block device mapping for the snapshot.
    • withDeviceName

      public SnapshotDetail withDeviceName(String deviceName)

      The block device mapping for the snapshot.

      Parameters:
      deviceName - The block device mapping for the snapshot.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setSnapshotId

      public void setSnapshotId(String snapshotId)

      The snapshot ID of the disk being imported.

      Parameters:
      snapshotId - The snapshot ID of the disk being imported.
    • getSnapshotId

      public String getSnapshotId()

      The snapshot ID of the disk being imported.

      Returns:
      The snapshot ID of the disk being imported.
    • withSnapshotId

      public SnapshotDetail withSnapshotId(String snapshotId)

      The snapshot ID of the disk being imported.

      Parameters:
      snapshotId - The snapshot ID of the disk being imported.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setProgress

      public void setProgress(String progress)

      The percentage of progress for the task.

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

      public String getProgress()

      The percentage of progress for the task.

      Returns:
      The percentage of progress for the task.
    • withProgress

      public SnapshotDetail withProgress(String progress)

      The percentage of progress for the task.

      Parameters:
      progress - The percentage of progress for 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 for the snapshot creation.

      Parameters:
      statusMessage - A detailed status message for the snapshot creation.
    • getStatusMessage

      public String getStatusMessage()

      A detailed status message for the snapshot creation.

      Returns:
      A detailed status message for the snapshot creation.
    • withStatusMessage

      public SnapshotDetail withStatusMessage(String statusMessage)

      A detailed status message for the snapshot creation.

      Parameters:
      statusMessage - A detailed status message for the snapshot creation.
      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 snapshot creation.

      Parameters:
      status - A brief status of the snapshot creation.
    • getStatus

      public String getStatus()

      A brief status of the snapshot creation.

      Returns:
      A brief status of the snapshot creation.
    • withStatus

      public SnapshotDetail withStatus(String status)

      A brief status of the snapshot creation.

      Parameters:
      status - A brief status of the snapshot creation.
      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 SnapshotDetail clone()
      Overrides:
      clone in class Object