public static interface SnapshotDiskContainer.Builder extends SdkPojo, CopyableBuilder<SnapshotDiskContainer.Builder,SnapshotDiskContainer>
Modifier and Type | Method and Description |
---|---|
SnapshotDiskContainer.Builder |
description(String description)
The description of the disk image being imported.
|
SnapshotDiskContainer.Builder |
format(String format)
The format of the disk image being imported.
|
SnapshotDiskContainer.Builder |
url(String url)
The URL to the Amazon S3-based disk image being imported.
|
default SnapshotDiskContainer.Builder |
userBucket(Consumer<UserBucket.Builder> userBucket)
The Amazon S3 bucket for the disk image.
|
SnapshotDiskContainer.Builder |
userBucket(UserBucket userBucket)
The Amazon S3 bucket for the disk image.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
SnapshotDiskContainer.Builder description(String description)
The description of the disk image being imported.
description
- The description of the disk image being imported.SnapshotDiskContainer.Builder format(String format)
The format of the disk image being imported.
Valid values: VHD
| VMDK
| RAW
format
- The format of the disk image being imported.
Valid values: VHD
| VMDK
| RAW
SnapshotDiskContainer.Builder url(String url)
The URL to the Amazon S3-based disk image being imported. It can either be a https URL (https://..) or an Amazon S3 URL (s3://..).
url
- The URL to the Amazon S3-based disk image being imported. It can either be a https URL (https://..) or
an Amazon S3 URL (s3://..).SnapshotDiskContainer.Builder userBucket(UserBucket userBucket)
The Amazon S3 bucket for the disk image.
userBucket
- The Amazon S3 bucket for the disk image.default SnapshotDiskContainer.Builder userBucket(Consumer<UserBucket.Builder> userBucket)
The Amazon S3 bucket for the disk image.
This is a convenience method that creates an instance of theUserBucket.Builder
avoiding the need to
create one manually via UserBucket.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to userBucket(UserBucket)
.
userBucket
- a consumer that will call methods on UserBucket.Builder
userBucket(UserBucket)
Copyright © 2023. All rights reserved.