public static interface SnapshotDiskContainer.Builder extends 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 S3 bucket for the disk image.
|
SnapshotDiskContainer.Builder |
userBucket(UserBucket userBucket)
The S3 bucket for the disk image.
|
copyapply, buildSnapshotDiskContainer.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: RAW | VHD | VMDK | OVA
format - The format of the disk image being imported.
Valid values: RAW | VHD | VMDK | OVA
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 S3 bucket for the disk image.
userBucket - The S3 bucket for the disk image.default SnapshotDiskContainer.Builder userBucket(Consumer<UserBucket.Builder> userBucket)
The S3 bucket for the disk image.
This is a convenience 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.BuilderuserBucket(UserBucket)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.