Class SnapshotDetail
- All Implemented Interfaces:
Serializable
,Cloneable
Describes the snapshot created from the imported disk.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
A description for the snapshot.The block device mapping for 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 progress for the task.The snapshot ID of the disk being imported.A brief status of the snapshot creation.A detailed status message for the snapshot creation.getUrl()
The URL used to access the disk image.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
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
A brief status of the snapshot creation.void
setStatusMessage
(String statusMessage) A detailed status message for the snapshot creation.void
The URL used to access the disk image.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) A description for the snapshot.withDeviceName
(String deviceName) The block device mapping for 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 progress for the task.withSnapshotId
(String snapshotId) The snapshot ID of the disk being imported.withStatus
(String status) A brief status of the snapshot creation.withStatusMessage
(String statusMessage) A detailed status message for the snapshot creation.The URL used to access the disk image.withUserBucket
(UserBucketDetails userBucket) The S3 bucket for the disk image.
-
Constructor Details
-
SnapshotDetail
public SnapshotDetail()
-
-
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
A description for the snapshot.
- Parameters:
description
- A description for the snapshot.
-
getDescription
A description for the snapshot.
- Returns:
- A description for the snapshot.
-
withDescription
A description for the snapshot.
- Parameters:
description
- A description for 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 used to access the disk image.
- Parameters:
url
- The URL used to access the disk image.
-
getUrl
The URL used to access the disk image.
- Returns:
- The URL used to access the disk image.
-
withUrl
The URL used to access the disk image.
- Parameters:
url
- The URL used to access the disk image.- 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.
-
setDeviceName
The block device mapping for the snapshot.
- Parameters:
deviceName
- The block device mapping for the snapshot.
-
getDeviceName
The block device mapping for the snapshot.
- Returns:
- The block device mapping for the snapshot.
-
withDeviceName
The block device mapping for the snapshot.
- Parameters:
deviceName
- The block device mapping for the snapshot.- 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 progress for the task.
- Parameters:
progress
- The percentage of progress for the task.
-
getProgress
The percentage of progress for the task.
- Returns:
- The percentage of progress for the task.
-
withProgress
The percentage of progress for the task.
- Parameters:
progress
- The percentage of progress for the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStatusMessage
A detailed status message for the snapshot creation.
- Parameters:
statusMessage
- A detailed status message for the snapshot creation.
-
getStatusMessage
A detailed status message for the snapshot creation.
- Returns:
- A detailed status message for the snapshot creation.
-
withStatusMessage
A detailed status message for the snapshot creation.
- Parameters:
statusMessage
- A detailed status message for the snapshot creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStatus
A brief status of the snapshot creation.
- Parameters:
status
- A brief status of the snapshot creation.
-
getStatus
A brief status of the snapshot creation.
- Returns:
- A brief status of the snapshot creation.
-
withStatus
A brief status of the snapshot creation.
- Parameters:
status
- A brief status of the snapshot creation.- 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
-