@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImportImageRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<ImportImageRequest>
Contains the parameters for ImportImage.
NOOP
Constructor and Description |
---|
ImportImageRequest() |
Modifier and Type | Method and Description |
---|---|
ImportImageRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getArchitecture()
The architecture of the virtual machine.
|
ClientData |
getClientData()
The client-specific data.
|
String |
getClientToken()
The token to enable idempotency for VM import requests.
|
String |
getDescription()
A description string for the import image task.
|
List<ImageDiskContainer> |
getDiskContainers()
Information about the disk containers.
|
Request<ImportImageRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getHypervisor()
The target hypervisor platform.
|
String |
getLicenseType()
The license type to be used for the Amazon Machine Image (AMI) after importing.
|
String |
getPlatform()
The operating system of the virtual machine.
|
String |
getRoleName()
The name of the role to use when not using the default role, 'vmimport'.
|
int |
hashCode() |
void |
setArchitecture(String architecture)
The architecture of the virtual machine.
|
void |
setClientData(ClientData clientData)
The client-specific data.
|
void |
setClientToken(String clientToken)
The token to enable idempotency for VM import requests.
|
void |
setDescription(String description)
A description string for the import image task.
|
void |
setDiskContainers(Collection<ImageDiskContainer> diskContainers)
Information about the disk containers.
|
void |
setHypervisor(String hypervisor)
The target hypervisor platform.
|
void |
setLicenseType(String licenseType)
The license type to be used for the Amazon Machine Image (AMI) after importing.
|
void |
setPlatform(String platform)
The operating system of the virtual machine.
|
void |
setRoleName(String roleName)
The name of the role to use when not using the default role, 'vmimport'.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ImportImageRequest |
withArchitecture(String architecture)
The architecture of the virtual machine.
|
ImportImageRequest |
withClientData(ClientData clientData)
The client-specific data.
|
ImportImageRequest |
withClientToken(String clientToken)
The token to enable idempotency for VM import requests.
|
ImportImageRequest |
withDescription(String description)
A description string for the import image task.
|
ImportImageRequest |
withDiskContainers(Collection<ImageDiskContainer> diskContainers)
Information about the disk containers.
|
ImportImageRequest |
withDiskContainers(ImageDiskContainer... diskContainers)
Information about the disk containers.
|
ImportImageRequest |
withHypervisor(String hypervisor)
The target hypervisor platform.
|
ImportImageRequest |
withLicenseType(String licenseType)
The license type to be used for the Amazon Machine Image (AMI) after importing.
|
ImportImageRequest |
withPlatform(String platform)
The operating system of the virtual machine.
|
ImportImageRequest |
withRoleName(String roleName)
The name of the role to use when not using the default role, 'vmimport'.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setArchitecture(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
public String getArchitecture()
The architecture of the virtual machine.
Valid values: i386
| x86_64
Valid values: i386
| x86_64
public ImportImageRequest withArchitecture(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
public void setClientData(ClientData clientData)
The client-specific data.
clientData
- The client-specific data.public ClientData getClientData()
The client-specific data.
public ImportImageRequest withClientData(ClientData clientData)
The client-specific data.
clientData
- The client-specific data.public void setClientToken(String clientToken)
The token to enable idempotency for VM import requests.
clientToken
- The token to enable idempotency for VM import requests.public String getClientToken()
The token to enable idempotency for VM import requests.
public ImportImageRequest withClientToken(String clientToken)
The token to enable idempotency for VM import requests.
clientToken
- The token to enable idempotency for VM import requests.public void setDescription(String description)
A description string for the import image task.
description
- A description string for the import image task.public String getDescription()
A description string for the import image task.
public ImportImageRequest withDescription(String description)
A description string for the import image task.
description
- A description string for the import image task.public List<ImageDiskContainer> getDiskContainers()
Information about the disk containers.
public void setDiskContainers(Collection<ImageDiskContainer> diskContainers)
Information about the disk containers.
diskContainers
- Information about the disk containers.public ImportImageRequest withDiskContainers(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.public ImportImageRequest withDiskContainers(Collection<ImageDiskContainer> diskContainers)
Information about the disk containers.
diskContainers
- Information about the disk containers.public void setHypervisor(String hypervisor)
The target hypervisor platform.
Valid values: xen
hypervisor
- The target hypervisor platform.
Valid values: xen
public String getHypervisor()
The target hypervisor platform.
Valid values: xen
Valid values: xen
public ImportImageRequest withHypervisor(String hypervisor)
The target hypervisor platform.
Valid values: xen
hypervisor
- The target hypervisor platform.
Valid values: xen
public void setLicenseType(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
public String getLicenseType()
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
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
public ImportImageRequest withLicenseType(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
public void setPlatform(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
public String getPlatform()
The operating system of the virtual machine.
Valid values: Windows
| Linux
Valid values: Windows
| Linux
public ImportImageRequest withPlatform(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
public void setRoleName(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'.public String getRoleName()
The name of the role to use when not using the default role, 'vmimport'.
public ImportImageRequest withRoleName(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'.public Request<ImportImageRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<ImportImageRequest>
public String toString()
toString
in class Object
Object.toString()
public ImportImageRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.