Class SnapshotTaskDetail
- java.lang.Object
-
- com.amazonaws.services.ec2.model.SnapshotTaskDetail
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class SnapshotTaskDetail extends Object implements Serializable, Cloneable
Details about the import snapshot task.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SnapshotTaskDetail()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SnapshotTaskDetail
clone()
boolean
equals(Object obj)
String
getDescription()
The description of the snapshot.Double
getDiskImageSize()
The size of the disk in the snapshot, in GiB.String
getFormat()
The format of the disk image from which the snapshot is created.String
getProgress()
The percentage of completion for the import snapshot task.String
getSnapshotId()
The snapshot ID of the disk being imported.String
getStatus()
A brief status for the import snapshot task.String
getStatusMessage()
A detailed status message for the import snapshot task.String
getUrl()
The URL of the disk image from which the snapshot is created.UserBucketDetails
getUserBucket()
The S3 bucket for the disk image.int
hashCode()
void
setDescription(String description)
The description of the snapshot.void
setDiskImageSize(Double diskImageSize)
The size of the disk in the snapshot, in GiB.void
setFormat(String format)
The format of the disk image from which the snapshot is created.void
setProgress(String progress)
The percentage of completion for the import snapshot task.void
setSnapshotId(String snapshotId)
The snapshot ID of the disk being imported.void
setStatus(String status)
A brief status for the import snapshot task.void
setStatusMessage(String statusMessage)
A detailed status message for the import snapshot task.void
setUrl(String url)
The URL of the disk image from which the snapshot is created.void
setUserBucket(UserBucketDetails userBucket)
The S3 bucket for the disk image.String
toString()
Returns a string representation of this object; useful for testing and debugging.SnapshotTaskDetail
withDescription(String description)
The description of the snapshot.SnapshotTaskDetail
withDiskImageSize(Double diskImageSize)
The size of the disk in the snapshot, in GiB.SnapshotTaskDetail
withFormat(String format)
The format of the disk image from which the snapshot is created.SnapshotTaskDetail
withProgress(String progress)
The percentage of completion for the import snapshot task.SnapshotTaskDetail
withSnapshotId(String snapshotId)
The snapshot ID of the disk being imported.SnapshotTaskDetail
withStatus(String status)
A brief status for the import snapshot task.SnapshotTaskDetail
withStatusMessage(String statusMessage)
A detailed status message for the import snapshot task.SnapshotTaskDetail
withUrl(String url)
The URL of the disk image from which the snapshot is created.SnapshotTaskDetail
withUserBucket(UserBucketDetails userBucket)
The S3 bucket for the disk image.
-
-
-
Method Detail
-
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 SnapshotTaskDetail 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)
The description of the snapshot.
- Parameters:
description
- The description of the snapshot.
-
getDescription
public String getDescription()
The description of the snapshot.
- Returns:
- The description of the snapshot.
-
withDescription
public SnapshotTaskDetail withDescription(String description)
The description of the snapshot.
- Parameters:
description
- The description of 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 SnapshotTaskDetail 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 of the disk image from which the snapshot is created.
- Parameters:
url
- The URL of the disk image from which the snapshot is created.
-
getUrl
public String getUrl()
The URL of the disk image from which the snapshot is created.
- Returns:
- The URL of the disk image from which the snapshot is created.
-
withUrl
public SnapshotTaskDetail withUrl(String url)
The URL of the disk image from which the snapshot is created.
- Parameters:
url
- The URL 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.
-
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 SnapshotTaskDetail 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.
-
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 SnapshotTaskDetail 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 completion for the import snapshot task.
- Parameters:
progress
- The percentage of completion for the import snapshot task.
-
getProgress
public String getProgress()
The percentage of completion for the import snapshot task.
- Returns:
- The percentage of completion for the import snapshot task.
-
withProgress
public SnapshotTaskDetail withProgress(String progress)
The percentage of completion for the import snapshot task.
- Parameters:
progress
- The percentage of completion for the import snapshot 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 import snapshot task.
- Parameters:
statusMessage
- A detailed status message for the import snapshot task.
-
getStatusMessage
public String getStatusMessage()
A detailed status message for the import snapshot task.
- Returns:
- A detailed status message for the import snapshot task.
-
withStatusMessage
public SnapshotTaskDetail withStatusMessage(String statusMessage)
A detailed status message for the import snapshot task.
- Parameters:
statusMessage
- A detailed status message for the import snapshot 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 for the import snapshot task.
- Parameters:
status
- A brief status for the import snapshot task.
-
getStatus
public String getStatus()
A brief status for the import snapshot task.
- Returns:
- A brief status for the import snapshot task.
-
withStatus
public SnapshotTaskDetail withStatus(String status)
A brief status for the import snapshot task.
- Parameters:
status
- A brief status for the import snapshot 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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public SnapshotTaskDetail clone()
-
-