@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SnapshotDetail extends Object implements Serializable, Cloneable
Describes the snapshot created from the imported disk.
Constructor and Description |
---|
SnapshotDetail() |
Modifier and Type | Method and Description |
---|---|
SnapshotDetail |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
A description for the snapshot.
|
String |
getDeviceName()
The block device mapping for 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 progress for the task.
|
String |
getSnapshotId()
The snapshot ID of the disk being imported.
|
String |
getStatus()
A brief status of the snapshot creation.
|
String |
getStatusMessage()
A detailed status message for the snapshot creation.
|
String |
getUrl()
The URL used to access the disk image.
|
UserBucketDetails |
getUserBucket()
The S3 bucket for the disk image.
|
int |
hashCode() |
void |
setDescription(String description)
A description for the snapshot.
|
void |
setDeviceName(String deviceName)
The block device mapping for 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 progress for the task.
|
void |
setSnapshotId(String snapshotId)
The snapshot ID of the disk being imported.
|
void |
setStatus(String status)
A brief status of the snapshot creation.
|
void |
setStatusMessage(String statusMessage)
A detailed status message for the snapshot creation.
|
void |
setUrl(String url)
The URL used to access the disk image.
|
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.
|
SnapshotDetail |
withDescription(String description)
A description for the snapshot.
|
SnapshotDetail |
withDeviceName(String deviceName)
The block device mapping for the snapshot.
|
SnapshotDetail |
withDiskImageSize(Double diskImageSize)
The size of the disk in the snapshot, in GiB.
|
SnapshotDetail |
withFormat(String format)
The format of the disk image from which the snapshot is created.
|
SnapshotDetail |
withProgress(String progress)
The percentage of progress for the task.
|
SnapshotDetail |
withSnapshotId(String snapshotId)
The snapshot ID of the disk being imported.
|
SnapshotDetail |
withStatus(String status)
A brief status of the snapshot creation.
|
SnapshotDetail |
withStatusMessage(String statusMessage)
A detailed status message for the snapshot creation.
|
SnapshotDetail |
withUrl(String url)
The URL used to access the disk image.
|
SnapshotDetail |
withUserBucket(UserBucketDetails userBucket)
The S3 bucket for the disk image.
|
public void setDescription(String description)
A description for the snapshot.
description
- A description for the snapshot.public String getDescription()
A description for the snapshot.
public SnapshotDetail withDescription(String description)
A description for the snapshot.
description
- A description for the snapshot.public void setDeviceName(String deviceName)
The block device mapping for the snapshot.
deviceName
- The block device mapping for the snapshot.public String getDeviceName()
The block device mapping for the snapshot.
public SnapshotDetail withDeviceName(String deviceName)
The block device mapping for the snapshot.
deviceName
- The block device mapping for 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 SnapshotDetail 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 SnapshotDetail 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 progress for the task.
progress
- The percentage of progress for the task.public String getProgress()
The percentage of progress for the task.
public SnapshotDetail withProgress(String progress)
The percentage of progress for the task.
progress
- The percentage of progress for the 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 SnapshotDetail 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 of the snapshot creation.
status
- A brief status of the snapshot creation.public String getStatus()
A brief status of the snapshot creation.
public SnapshotDetail withStatus(String status)
A brief status of the snapshot creation.
status
- A brief status of the snapshot creation.public void setStatusMessage(String statusMessage)
A detailed status message for the snapshot creation.
statusMessage
- A detailed status message for the snapshot creation.public String getStatusMessage()
A detailed status message for the snapshot creation.
public SnapshotDetail withStatusMessage(String statusMessage)
A detailed status message for the snapshot creation.
statusMessage
- A detailed status message for the snapshot creation.public void setUrl(String url)
The URL used to access the disk image.
url
- The URL used to access the disk image.public String getUrl()
The URL used to access the disk image.
public SnapshotDetail withUrl(String url)
The URL used to access the disk image.
url
- The URL used to access the disk image.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 SnapshotDetail 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 SnapshotDetail clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.