CopyableBuilder<ImportImageRequest.Builder,ImportImageRequest>, SdkBuilder<ImportImageRequest.Builder,ImportImageRequest>public static interface ImportImageRequest.Builder extends CopyableBuilder<ImportImageRequest.Builder,ImportImageRequest>
| Modifier and Type | Method | Description |
|---|---|---|
ImportImageRequest.Builder |
architecture(String architecture) |
The architecture of the virtual machine.
|
ImportImageRequest.Builder |
clientData(ClientData clientData) |
The client-specific data.
|
ImportImageRequest.Builder |
clientToken(String clientToken) |
The token to enable idempotency for VM import requests.
|
ImportImageRequest.Builder |
description(String description) |
A description string for the import image task.
|
ImportImageRequest.Builder |
diskContainers(Collection<ImageDiskContainer> diskContainers) |
Information about the disk containers.
|
ImportImageRequest.Builder |
diskContainers(ImageDiskContainer... diskContainers) |
Information about the disk containers.
|
ImportImageRequest.Builder |
hypervisor(String hypervisor) |
The target hypervisor platform.
|
ImportImageRequest.Builder |
licenseType(String licenseType) |
The license type to be used for the Amazon Machine Image (AMI) after importing.
|
ImportImageRequest.Builder |
platform(String platform) |
The operating system of the virtual machine.
|
ImportImageRequest.Builder |
roleName(String roleName) |
The name of the role to use when not using the default role, 'vmimport'.
|
copyapply, buildImportImageRequest.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
ImportImageRequest.Builder clientData(ClientData clientData)
The client-specific data.
clientData - The client-specific data.ImportImageRequest.Builder clientToken(String clientToken)
The token to enable idempotency for VM import requests.
clientToken - The token to enable idempotency for VM import requests.ImportImageRequest.Builder description(String description)
A description string for the import image task.
description - A description string for the import image task.ImportImageRequest.Builder diskContainers(Collection<ImageDiskContainer> diskContainers)
Information about the disk containers.
diskContainers - Information about the disk containers.ImportImageRequest.Builder diskContainers(ImageDiskContainer... diskContainers)
Information about the disk containers.
NOTE: This method appends the values to the existing list (if any). Use
#setDiskContainers(java.util.Collection) or #withDiskContainers(java.util.Collection) if you
want to override the existing values.
diskContainers - Information about the disk containers.ImportImageRequest.Builder hypervisor(String hypervisor)
The target hypervisor platform.
Valid values: xen
hypervisor - The target hypervisor platform.
Valid values: xen
ImportImageRequest.Builder licenseType(String licenseType)
The license type to be used for the Amazon Machine Image (AMI) after importing.
Note: You may only use BYOL if you have existing licenses with rights to use these licenses in a third party cloud like AWS. For more information, see Prerequisites in the VM Import/Export User Guide.
Valid values: AWS | BYOL
licenseType - The license type to be used for the Amazon Machine Image (AMI) after importing.
Note: You may only use BYOL if you have existing licenses with rights to use these licenses in a third party cloud like AWS. For more information, see Prerequisites in the VM Import/Export User Guide.
Valid values: AWS | BYOL
ImportImageRequest.Builder platform(String platform)
The operating system of the virtual machine.
Valid values: Windows | Linux
platform - The operating system of the virtual machine.
Valid values: Windows | Linux
ImportImageRequest.Builder roleName(String roleName)
The name of the role to use when not using the default role, 'vmimport'.
roleName - The name of the role to use when not using the default role, 'vmimport'.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.