public static interface SnapshotTaskDetail.Builder extends SdkPojo, 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 |
encrypted(Boolean encrypted)
Indicates whether the snapshot is encrypted.
|
SnapshotTaskDetail.Builder |
format(String format)
The format of the disk image from which the snapshot is created.
|
SnapshotTaskDetail.Builder |
kmsKeyId(String kmsKeyId)
The identifier for the KMS key that was used to create the encrypted snapshot.
|
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 Amazon S3 bucket for the disk image.
|
SnapshotTaskDetail.Builder |
userBucket(UserBucketDetails userBucket)
The Amazon S3 bucket for the disk image.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSnapshotTaskDetail.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 encrypted(Boolean encrypted)
Indicates whether the snapshot is encrypted.
encrypted - Indicates whether the snapshot is encrypted.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 kmsKeyId(String kmsKeyId)
The identifier for the KMS key that was used to create the encrypted snapshot.
kmsKeyId - The identifier for the KMS key that was used to create the encrypted snapshot.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 Amazon S3 bucket for the disk image.
userBucket - The Amazon S3 bucket for the disk image.default SnapshotTaskDetail.Builder userBucket(Consumer<UserBucketDetails.Builder> userBucket)
The Amazon S3 bucket for the disk image.
This is a convenience method 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.BuilderuserBucket(UserBucketDetails)Copyright © 2022. All rights reserved.