public class SnapshotTaskDetail
extends java.lang.Object
implements java.io.Serializable
Details about the import snapshot task.
Constructor and Description |
---|
SnapshotTaskDetail() |
Modifier and Type | Method and Description |
---|---|
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.
|
public java.lang.Double getDiskImageSize()
public void setDiskImageSize(java.lang.Double diskImageSize)
diskImageSize
- The size of the disk in the snapshot, in GiB.public SnapshotTaskDetail 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
- The description of the snapshot.public SnapshotTaskDetail withDescription(java.lang.String description)
Returns a reference to this object so that method calls can be chained together.
description
- The description of 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 SnapshotTaskDetail 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 of the disk image from which the snapshot is created.public SnapshotTaskDetail withUrl(java.lang.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 java.lang.String getSnapshotId()
public void setSnapshotId(java.lang.String snapshotId)
snapshotId
- The snapshot ID of the disk being imported.public SnapshotTaskDetail 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 completion for the import snapshot task.public SnapshotTaskDetail withProgress(java.lang.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 java.lang.String getStatusMessage()
public void setStatusMessage(java.lang.String statusMessage)
statusMessage
- A detailed status message for the import snapshot task.public SnapshotTaskDetail 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 import snapshot task.public java.lang.String getStatus()
public void setStatus(java.lang.String status)
status
- A brief status for the import snapshot task.public SnapshotTaskDetail withStatus(java.lang.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 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.