Class SnapshotTaskDetail
- All Implemented Interfaces:
Serializable
,Cloneable
Details about the import snapshot task.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The description of the snapshot.The size of the disk in the snapshot, in GiB.The format of the disk image from which the snapshot is created.The percentage of completion for the import snapshot task.The snapshot ID of the disk being imported.A brief status for the import snapshot task.A detailed status message for the import snapshot task.getUrl()
The URL of the disk image from which the snapshot is created.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
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
A brief status for the import snapshot task.void
setStatusMessage
(String statusMessage) A detailed status message for the import snapshot task.void
The URL of the disk image from which the snapshot is created.void
setUserBucket
(UserBucketDetails userBucket) The S3 bucket for the disk image.toString()
Returns a string representation of this object; useful for testing and debugging.withDescription
(String description) The description of the snapshot.withDiskImageSize
(Double diskImageSize) The size of the disk in the snapshot, in GiB.withFormat
(String format) The format of the disk image from which the snapshot is created.withProgress
(String progress) The percentage of completion for the import snapshot task.withSnapshotId
(String snapshotId) The snapshot ID of the disk being imported.withStatus
(String status) A brief status for the import snapshot task.withStatusMessage
(String statusMessage) A detailed status message for the import snapshot task.The URL of the disk image from which the snapshot is created.withUserBucket
(UserBucketDetails userBucket) The S3 bucket for the disk image.
-
Constructor Details
-
SnapshotTaskDetail
public SnapshotTaskDetail()
-
-
Method Details
-
setDiskImageSize
The size of the disk in the snapshot, in GiB.
- Parameters:
diskImageSize
- The size of the disk in the snapshot, in GiB.
-
getDiskImageSize
The size of the disk in the snapshot, in GiB.
- Returns:
- The size of the disk in the snapshot, in GiB.
-
withDiskImageSize
The size of the disk in the snapshot, in GiB.
- Parameters:
diskImageSize
- The size of the disk in the snapshot, in GiB.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDescription
The description of the snapshot.
- Parameters:
description
- The description of the snapshot.
-
getDescription
The description of the snapshot.
- Returns:
- The description of the snapshot.
-
withDescription
The description of the snapshot.
- Parameters:
description
- The description of the snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setFormat
The format of the disk image from which the snapshot is created.
- Parameters:
format
- The format of the disk image from which the snapshot is created.
-
getFormat
The format of the disk image from which the snapshot is created.
- Returns:
- The format of the disk image from which the snapshot is created.
-
withFormat
The format of the disk image from which the snapshot is created.
- Parameters:
format
- The format of the disk image from which the snapshot is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setUrl
The URL of the disk image from which the snapshot is created.
- Parameters:
url
- The URL of the disk image from which the snapshot is created.
-
getUrl
The URL of the disk image from which the snapshot is created.
- Returns:
- The URL of the disk image from which the snapshot is created.
-
withUrl
The URL of the disk image from which the snapshot is created.
- Parameters:
url
- The URL of the disk image from which the snapshot is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setUserBucket
The S3 bucket for the disk image.
- Parameters:
userBucket
- The S3 bucket for the disk image.
-
getUserBucket
The S3 bucket for the disk image.
- Returns:
- The S3 bucket for the disk image.
-
withUserBucket
The S3 bucket for the disk image.
- Parameters:
userBucket
- The S3 bucket for the disk image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSnapshotId
The snapshot ID of the disk being imported.
- Parameters:
snapshotId
- The snapshot ID of the disk being imported.
-
getSnapshotId
The snapshot ID of the disk being imported.
- Returns:
- The snapshot ID of the disk being imported.
-
withSnapshotId
The snapshot ID of the disk being imported.
- Parameters:
snapshotId
- The snapshot ID of the disk being imported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setProgress
The percentage of completion for the import snapshot task.
- Parameters:
progress
- The percentage of completion for the import snapshot task.
-
getProgress
The percentage of completion for the import snapshot task.
- Returns:
- The percentage of completion for the import snapshot task.
-
withProgress
The percentage of completion for the import snapshot task.
- Parameters:
progress
- The percentage of completion for the import snapshot task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStatusMessage
A detailed status message for the import snapshot task.
- Parameters:
statusMessage
- A detailed status message for the import snapshot task.
-
getStatusMessage
A detailed status message for the import snapshot task.
- Returns:
- A detailed status message for the import snapshot task.
-
withStatusMessage
A detailed status message for the import snapshot task.
- Parameters:
statusMessage
- A detailed status message for the import snapshot task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStatus
A brief status for the import snapshot task.
- Parameters:
status
- A brief status for the import snapshot task.
-
getStatus
A brief status for the import snapshot task.
- Returns:
- A brief status for the import snapshot task.
-
withStatus
A brief status for the import snapshot task.
- Parameters:
status
- A brief status for the import snapshot task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-