public static interface ImportImageTask.Builder extends SdkPojo, CopyableBuilder<ImportImageTask.Builder,ImportImageTask>
Modifier and Type | Method and Description |
---|---|
ImportImageTask.Builder |
architecture(String architecture)
The architecture of the virtual machine.
|
ImportImageTask.Builder |
description(String description)
A description of the import task.
|
ImportImageTask.Builder |
encrypted(Boolean encrypted)
Indicates whether the image is encrypted.
|
ImportImageTask.Builder |
hypervisor(String hypervisor)
The target hypervisor for the import task.
|
ImportImageTask.Builder |
imageId(String imageId)
The ID of the Amazon Machine Image (AMI) of the imported virtual machine.
|
ImportImageTask.Builder |
importTaskId(String importTaskId)
The ID of the import image task.
|
ImportImageTask.Builder |
kmsKeyId(String kmsKeyId)
The identifier for the AWS Key Management Service (AWS KMS) customer master key (CMK) that was used to create
the encrypted image.
|
ImportImageTask.Builder |
licenseType(String licenseType)
The license type of the virtual machine.
|
ImportImageTask.Builder |
platform(String platform)
The description string for the import image task.
|
ImportImageTask.Builder |
progress(String progress)
The percentage of progress of the import image task.
|
ImportImageTask.Builder |
snapshotDetails(Collection<SnapshotDetail> snapshotDetails)
Information about the snapshots.
|
ImportImageTask.Builder |
snapshotDetails(Consumer<SnapshotDetail.Builder>... snapshotDetails)
Information about the snapshots.
|
ImportImageTask.Builder |
snapshotDetails(SnapshotDetail... snapshotDetails)
Information about the snapshots.
|
ImportImageTask.Builder |
status(String status)
A brief status for the import image task.
|
ImportImageTask.Builder |
statusMessage(String statusMessage)
A descriptive status message for the import image task.
|
copy
applyMutation, build
ImportImageTask.Builder architecture(String architecture)
The architecture of the virtual machine.
Valid values: i386
| x86_64
architecture
- The architecture of the virtual machine.
Valid values: i386
| x86_64
ImportImageTask.Builder description(String description)
A description of the import task.
description
- A description of the import task.ImportImageTask.Builder encrypted(Boolean encrypted)
Indicates whether the image is encrypted.
encrypted
- Indicates whether the image is encrypted.ImportImageTask.Builder hypervisor(String hypervisor)
The target hypervisor for the import task.
Valid values: xen
hypervisor
- The target hypervisor for the import task.
Valid values: xen
ImportImageTask.Builder imageId(String imageId)
The ID of the Amazon Machine Image (AMI) of the imported virtual machine.
imageId
- The ID of the Amazon Machine Image (AMI) of the imported virtual machine.ImportImageTask.Builder importTaskId(String importTaskId)
The ID of the import image task.
importTaskId
- The ID of the import image task.ImportImageTask.Builder kmsKeyId(String kmsKeyId)
The identifier for the AWS Key Management Service (AWS KMS) customer master key (CMK) that was used to create the encrypted image.
kmsKeyId
- The identifier for the AWS Key Management Service (AWS KMS) customer master key (CMK) that was used to
create the encrypted image.ImportImageTask.Builder licenseType(String licenseType)
The license type of the virtual machine.
licenseType
- The license type of the virtual machine.ImportImageTask.Builder platform(String platform)
The description string for the import image task.
platform
- The description string for the import image task.ImportImageTask.Builder progress(String progress)
The percentage of progress of the import image task.
progress
- The percentage of progress of the import image task.ImportImageTask.Builder snapshotDetails(Collection<SnapshotDetail> snapshotDetails)
Information about the snapshots.
snapshotDetails
- Information about the snapshots.ImportImageTask.Builder snapshotDetails(SnapshotDetail... snapshotDetails)
Information about the snapshots.
snapshotDetails
- Information about the snapshots.ImportImageTask.Builder snapshotDetails(Consumer<SnapshotDetail.Builder>... snapshotDetails)
Information about the snapshots.
This is a convenience that creates an instance of theList.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #snapshotDetails(List)
.snapshotDetails
- a consumer that will call methods on List.Builder
#snapshotDetails(List)
ImportImageTask.Builder status(String status)
A brief status for the import image task.
status
- A brief status for the import image task.ImportImageTask.Builder statusMessage(String statusMessage)
A descriptive status message for the import image task.
statusMessage
- A descriptive status message for the import image task.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.