@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 void setDescription(String description)
The description of the snapshot.
description
- The description of the snapshot.public String getDescription()
The description of the snapshot.
public SnapshotTaskDetail withDescription(String description)
The description of the snapshot.
description
- The description of the snapshot.public void setDiskImageSize(Double diskImageSize)
The size of the disk in the snapshot, in GiB.
diskImageSize
- The size of the disk in the snapshot, in GiB.public Double getDiskImageSize()
The size of the disk in the snapshot, in GiB.
public SnapshotTaskDetail withDiskImageSize(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 setFormat(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 String getFormat()
The format of the disk image from which the snapshot is created.
public SnapshotTaskDetail withFormat(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 setProgress(String progress)
The percentage of completion for the import snapshot task.
progress
- The percentage of completion for the import snapshot task.public String getProgress()
The percentage of completion for the import snapshot task.
public SnapshotTaskDetail withProgress(String progress)
The percentage of completion for the import snapshot task.
progress
- The percentage of completion for the import snapshot task.public void setSnapshotId(String snapshotId)
The snapshot ID of the disk being imported.
snapshotId
- The snapshot ID of the disk being imported.public String getSnapshotId()
The snapshot ID of the disk being imported.
public SnapshotTaskDetail withSnapshotId(String snapshotId)
The snapshot ID of the disk being imported.
snapshotId
- The snapshot ID of the disk being imported.public void setStatus(String status)
A brief status for the import snapshot task.
status
- A brief status for the import snapshot task.public String getStatus()
A brief status for the import snapshot task.
public SnapshotTaskDetail withStatus(String status)
A brief status for the import snapshot task.
status
- A brief status for the import snapshot task.public void setStatusMessage(String statusMessage)
A detailed status message for the import snapshot task.
statusMessage
- A detailed status message for the import snapshot task.public String getStatusMessage()
A detailed status message for the import snapshot task.
public SnapshotTaskDetail withStatusMessage(String statusMessage)
A detailed status message for the import snapshot task.
statusMessage
- A detailed status message for the import snapshot task.public void setUrl(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 String getUrl()
The URL of the disk image from which the snapshot is created.
public SnapshotTaskDetail withUrl(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 String toString()
toString
in class Object
Object.toString()
public SnapshotTaskDetail clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.