public static interface ImageDiskContainer.Builder extends CopyableBuilder<ImageDiskContainer.Builder,ImageDiskContainer>
| Modifier and Type | Method and Description |
|---|---|
ImageDiskContainer.Builder |
description(String description)
The description of the disk image.
|
ImageDiskContainer.Builder |
deviceName(String deviceName)
The block device mapping for the disk.
|
ImageDiskContainer.Builder |
format(String format)
The format of the disk image being imported.
|
ImageDiskContainer.Builder |
snapshotId(String snapshotId)
The ID of the EBS snapshot to be used for importing the snapshot.
|
ImageDiskContainer.Builder |
url(String url)
The URL to the Amazon S3-based disk image being imported.
|
default ImageDiskContainer.Builder |
userBucket(Consumer<UserBucket.Builder> userBucket)
The S3 bucket for the disk image.
|
ImageDiskContainer.Builder |
userBucket(UserBucket userBucket)
The S3 bucket for the disk image.
|
copyapply, buildImageDiskContainer.Builder description(String description)
The description of the disk image.
description - The description of the disk image.ImageDiskContainer.Builder deviceName(String deviceName)
The block device mapping for the disk.
deviceName - The block device mapping for the disk.ImageDiskContainer.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
ImageDiskContainer.Builder snapshotId(String snapshotId)
The ID of the EBS snapshot to be used for importing the snapshot.
snapshotId - The ID of the EBS snapshot to be used for importing the snapshot.ImageDiskContainer.Builder url(String url)
The URL to the Amazon S3-based disk image being imported. The URL 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. The URL can either be a https URL
(https://..) or an Amazon S3 URL (s3://..)ImageDiskContainer.Builder userBucket(UserBucket userBucket)
The S3 bucket for the disk image.
userBucket - The S3 bucket for the disk image.default ImageDiskContainer.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.