public static interface SnapshotDetail.Builder extends SdkPojo, CopyableBuilder<SnapshotDetail.Builder,SnapshotDetail>
Modifier and Type | Method and Description |
---|---|
SnapshotDetail.Builder |
description(String description)
A description for the snapshot.
|
SnapshotDetail.Builder |
deviceName(String deviceName)
The block device mapping for the snapshot.
|
SnapshotDetail.Builder |
diskImageSize(Double diskImageSize)
The size of the disk in the snapshot, in GiB.
|
SnapshotDetail.Builder |
format(String format)
The format of the disk image from which the snapshot is created.
|
SnapshotDetail.Builder |
progress(String progress)
The percentage of progress for the task.
|
SnapshotDetail.Builder |
snapshotId(String snapshotId)
The snapshot ID of the disk being imported.
|
SnapshotDetail.Builder |
status(String status)
A brief status of the snapshot creation.
|
SnapshotDetail.Builder |
statusMessage(String statusMessage)
A detailed status message for the snapshot creation.
|
SnapshotDetail.Builder |
url(String url)
The URL used to access the disk image.
|
default SnapshotDetail.Builder |
userBucket(Consumer<UserBucketDetails.Builder> userBucket)
The S3 bucket for the disk image.
|
SnapshotDetail.Builder |
userBucket(UserBucketDetails userBucket)
The S3 bucket for the disk image.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
SnapshotDetail.Builder description(String description)
A description for the snapshot.
description
- A description for the snapshot.SnapshotDetail.Builder deviceName(String deviceName)
The block device mapping for the snapshot.
deviceName
- The block device mapping for the snapshot.SnapshotDetail.Builder diskImageSize(Double diskImageSize)
The size of the disk in the snapshot, in GiB.
diskImageSize
- The size of the disk in the snapshot, in GiB.SnapshotDetail.Builder format(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.SnapshotDetail.Builder progress(String progress)
The percentage of progress for the task.
progress
- The percentage of progress for the task.SnapshotDetail.Builder snapshotId(String snapshotId)
The snapshot ID of the disk being imported.
snapshotId
- The snapshot ID of the disk being imported.SnapshotDetail.Builder status(String status)
A brief status of the snapshot creation.
status
- A brief status of the snapshot creation.SnapshotDetail.Builder statusMessage(String statusMessage)
A detailed status message for the snapshot creation.
statusMessage
- A detailed status message for the snapshot creation.SnapshotDetail.Builder url(String url)
The URL used to access the disk image.
url
- The URL used to access the disk image.SnapshotDetail.Builder userBucket(UserBucketDetails userBucket)
The S3 bucket for the disk image.
userBucket
- The S3 bucket for the disk image.default SnapshotDetail.Builder userBucket(Consumer<UserBucketDetails.Builder> userBucket)
The S3 bucket for the disk image.
This is a convenience that creates an instance of theUserBucketDetails.Builder
avoiding the need to
create one manually via UserBucketDetails.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to userBucket(UserBucketDetails)
.userBucket
- a consumer that will call methods on UserBucketDetails.Builder
userBucket(UserBucketDetails)
Copyright © 2019. All rights reserved.