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