public class SnapshotTaskDetail extends Object implements Serializable, Cloneable
Details about the import snapshot task.
Constructor and Description |
---|
SnapshotTaskDetail() |
Modifier and Type | Method and 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.
|
public Double getDiskImageSize()
public void setDiskImageSize(Double diskImageSize)
diskImageSize
- The size of the disk in the snapshot, in GiB.public SnapshotTaskDetail withDiskImageSize(Double diskImageSize)
Returns a reference to this object so that method calls can be chained together.
diskImageSize
- The size of the disk in the snapshot, in GiB.public String getDescription()
public void setDescription(String description)
description
- The description of the snapshot.public SnapshotTaskDetail withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
description
- The description of the snapshot.public String getFormat()
public void setFormat(String format)
format
- The format of the disk image from which the snapshot is created.public SnapshotTaskDetail withFormat(String format)
Returns a reference to this object so that method calls can be chained together.
format
- The format of the disk image from which the snapshot is created.public String getUrl()
public void setUrl(String url)
url
- The URL of the disk image from which the snapshot is created.public SnapshotTaskDetail withUrl(String url)
Returns a reference to this object so that method calls can be chained together.
url
- The URL of the disk image from which the snapshot is created.public UserBucketDetails getUserBucket()
public void setUserBucket(UserBucketDetails userBucket)
userBucket
- The S3 bucket for the disk image.public SnapshotTaskDetail withUserBucket(UserBucketDetails userBucket)
Returns a reference to this object so that method calls can be chained together.
userBucket
- The S3 bucket for the disk image.public String getSnapshotId()
public void setSnapshotId(String snapshotId)
snapshotId
- The snapshot ID of the disk being imported.public SnapshotTaskDetail withSnapshotId(String snapshotId)
Returns a reference to this object so that method calls can be chained together.
snapshotId
- The snapshot ID of the disk being imported.public String getProgress()
public void setProgress(String progress)
progress
- The percentage of completion for the import snapshot task.public SnapshotTaskDetail withProgress(String progress)
Returns a reference to this object so that method calls can be chained together.
progress
- The percentage of completion for the import snapshot task.public String getStatusMessage()
public void setStatusMessage(String statusMessage)
statusMessage
- A detailed status message for the import snapshot task.public SnapshotTaskDetail withStatusMessage(String statusMessage)
Returns a reference to this object so that method calls can be chained together.
statusMessage
- A detailed status message for the import snapshot task.public String getStatus()
public void setStatus(String status)
status
- A brief status for the import snapshot task.public SnapshotTaskDetail withStatus(String status)
Returns a reference to this object so that method calls can be chained together.
status
- A brief status for the import snapshot task.public String toString()
toString
in class Object
Object.toString()
public SnapshotTaskDetail clone()
Copyright © 2015. All rights reserved.