public static interface SnapshotTaskDetail.Builder extends CopyableBuilder<SnapshotTaskDetail.Builder,SnapshotTaskDetail>
Modifier and Type | Method and Description |
---|---|
SnapshotTaskDetail.Builder |
description(String description)
The description of the snapshot.
|
SnapshotTaskDetail.Builder |
diskImageSize(Double diskImageSize)
The size of the disk in the snapshot, in GiB.
|
SnapshotTaskDetail.Builder |
format(String format)
The format of the disk image from which the snapshot is created.
|
SnapshotTaskDetail.Builder |
progress(String progress)
The percentage of completion for the import snapshot task.
|
SnapshotTaskDetail.Builder |
snapshotId(String snapshotId)
The snapshot ID of the disk being imported.
|
SnapshotTaskDetail.Builder |
status(String status)
A brief status for the import snapshot task.
|
SnapshotTaskDetail.Builder |
statusMessage(String statusMessage)
A detailed status message for the import snapshot task.
|
SnapshotTaskDetail.Builder |
url(String url)
The URL of the disk image from which the snapshot is created.
|
default SnapshotTaskDetail.Builder |
userBucket(Consumer<UserBucketDetails.Builder> userBucket)
The S3 bucket for the disk image.
|
SnapshotTaskDetail.Builder |
userBucket(UserBucketDetails userBucket)
The S3 bucket for the disk image.
|
copy
applyMutation, build
SnapshotTaskDetail.Builder description(String description)
The description of the snapshot.
description
- The description of the snapshot.SnapshotTaskDetail.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.SnapshotTaskDetail.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.SnapshotTaskDetail.Builder progress(String progress)
The percentage of completion for the import snapshot task.
progress
- The percentage of completion for the import snapshot task.SnapshotTaskDetail.Builder snapshotId(String snapshotId)
The snapshot ID of the disk being imported.
snapshotId
- The snapshot ID of the disk being imported.SnapshotTaskDetail.Builder status(String status)
A brief status for the import snapshot task.
status
- A brief status for the import snapshot task.SnapshotTaskDetail.Builder statusMessage(String statusMessage)
A detailed status message for the import snapshot task.
statusMessage
- A detailed status message for the import snapshot task.SnapshotTaskDetail.Builder url(String url)
The URL of the disk image from which the snapshot is created.
url
- The URL of the disk image from which the snapshot is created.SnapshotTaskDetail.Builder userBucket(UserBucketDetails userBucket)
The S3 bucket for the disk image.
userBucket
- The S3 bucket for the disk image.default SnapshotTaskDetail.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 © 2017 Amazon Web Services, Inc. All Rights Reserved.