public class SnapshotDetail
extends java.lang.Object
implements java.io.Serializable
Describes the snapshot created from the imported disk.
Constructor and Description |
---|
SnapshotDetail() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDescription()
A description for the snapshot.
|
java.lang.String |
getDeviceName()
The block device mapping for 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 progress for the task.
|
java.lang.String |
getSnapshotId()
The snapshot ID of the disk being imported.
|
java.lang.String |
getStatus()
A brief status of the snapshot creation.
|
java.lang.String |
getStatusMessage()
A detailed status message for the snapshot creation.
|
java.lang.String |
getUrl()
The URL used to access the disk image.
|
UserBucketDetails |
getUserBucket()
The S3 bucket for the disk image.
|
int |
hashCode() |
void |
setDescription(java.lang.String description)
A description for the snapshot.
|
void |
setDeviceName(java.lang.String deviceName)
The block device mapping for 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 progress for the task.
|
void |
setSnapshotId(java.lang.String snapshotId)
The snapshot ID of the disk being imported.
|
void |
setStatus(java.lang.String status)
A brief status of the snapshot creation.
|
void |
setStatusMessage(java.lang.String statusMessage)
A detailed status message for the snapshot creation.
|
void |
setUrl(java.lang.String url)
The URL used to access the disk image.
|
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.
|
SnapshotDetail |
withDescription(java.lang.String description)
A description for the snapshot.
|
SnapshotDetail |
withDeviceName(java.lang.String deviceName)
The block device mapping for the snapshot.
|
SnapshotDetail |
withDiskImageSize(java.lang.Double diskImageSize)
The size of the disk in the snapshot, in GiB.
|
SnapshotDetail |
withFormat(java.lang.String format)
The format of the disk image from which the snapshot is created.
|
SnapshotDetail |
withProgress(java.lang.String progress)
The percentage of progress for the task.
|
SnapshotDetail |
withSnapshotId(java.lang.String snapshotId)
The snapshot ID of the disk being imported.
|
SnapshotDetail |
withStatus(java.lang.String status)
A brief status of the snapshot creation.
|
SnapshotDetail |
withStatusMessage(java.lang.String statusMessage)
A detailed status message for the snapshot creation.
|
SnapshotDetail |
withUrl(java.lang.String url)
The URL used to access the disk image.
|
SnapshotDetail |
withUserBucket(UserBucketDetails userBucket)
The S3 bucket for the disk image.
|
public java.lang.Double getDiskImageSize()
public void setDiskImageSize(java.lang.Double diskImageSize)
diskImageSize
- The size of the disk in the snapshot, in GiB.public SnapshotDetail withDiskImageSize(java.lang.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 java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- A description for the snapshot.public SnapshotDetail withDescription(java.lang.String description)
Returns a reference to this object so that method calls can be chained together.
description
- A description for the snapshot.public java.lang.String getFormat()
public void setFormat(java.lang.String format)
format
- The format of the disk image from which the snapshot is created.public SnapshotDetail withFormat(java.lang.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 java.lang.String getUrl()
public void setUrl(java.lang.String url)
url
- The URL used to access the disk image.public SnapshotDetail withUrl(java.lang.String url)
Returns a reference to this object so that method calls can be chained together.
url
- The URL used to access the disk image.public UserBucketDetails getUserBucket()
public void setUserBucket(UserBucketDetails userBucket)
userBucket
- The S3 bucket for the disk image.public SnapshotDetail 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 java.lang.String getDeviceName()
public void setDeviceName(java.lang.String deviceName)
deviceName
- The block device mapping for the snapshot.public SnapshotDetail withDeviceName(java.lang.String deviceName)
Returns a reference to this object so that method calls can be chained together.
deviceName
- The block device mapping for the snapshot.public java.lang.String getSnapshotId()
public void setSnapshotId(java.lang.String snapshotId)
snapshotId
- The snapshot ID of the disk being imported.public SnapshotDetail withSnapshotId(java.lang.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 java.lang.String getProgress()
public void setProgress(java.lang.String progress)
progress
- The percentage of progress for the task.public SnapshotDetail withProgress(java.lang.String progress)
Returns a reference to this object so that method calls can be chained together.
progress
- The percentage of progress for the task.public java.lang.String getStatusMessage()
public void setStatusMessage(java.lang.String statusMessage)
statusMessage
- A detailed status message for the snapshot creation.public SnapshotDetail withStatusMessage(java.lang.String statusMessage)
Returns a reference to this object so that method calls can be chained together.
statusMessage
- A detailed status message for the snapshot creation.public java.lang.String getStatus()
public void setStatus(java.lang.String status)
status
- A brief status of the snapshot creation.public SnapshotDetail withStatus(java.lang.String status)
Returns a reference to this object so that method calls can be chained together.
status
- A brief status of the snapshot creation.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.