@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImportVmImageRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ImportVmImageRequest() |
Modifier and Type | Method and Description |
---|---|
ImportVmImageRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
ImportVmImageRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
ImportVmImageRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
Unique, case-sensitive identifier you provide to ensure idempotency of the request.
|
String |
getDescription()
The description for the base image that is created by the import process.
|
String |
getName()
The name of the base image that is created by the import process.
|
String |
getOsVersion()
The operating system version for the imported VM.
|
String |
getPlatform()
The operating system platform for the imported VM.
|
String |
getSemanticVersion()
The semantic version to attach to the base image that was created during the import process.
|
Map<String,String> |
getTags()
Tags that are attached to the import resources.
|
String |
getVmImportTaskId()
The
importTaskId (API) or ImportTaskId (CLI) from the Amazon EC2 VM import process. |
int |
hashCode() |
void |
setClientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure idempotency of the request.
|
void |
setDescription(String description)
The description for the base image that is created by the import process.
|
void |
setName(String name)
The name of the base image that is created by the import process.
|
void |
setOsVersion(String osVersion)
The operating system version for the imported VM.
|
void |
setPlatform(String platform)
The operating system platform for the imported VM.
|
void |
setSemanticVersion(String semanticVersion)
The semantic version to attach to the base image that was created during the import process.
|
void |
setTags(Map<String,String> tags)
Tags that are attached to the import resources.
|
void |
setVmImportTaskId(String vmImportTaskId)
The
importTaskId (API) or ImportTaskId (CLI) from the Amazon EC2 VM import process. |
String |
toString()
Returns a string representation of this object.
|
ImportVmImageRequest |
withClientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure idempotency of the request.
|
ImportVmImageRequest |
withDescription(String description)
The description for the base image that is created by the import process.
|
ImportVmImageRequest |
withName(String name)
The name of the base image that is created by the import process.
|
ImportVmImageRequest |
withOsVersion(String osVersion)
The operating system version for the imported VM.
|
ImportVmImageRequest |
withPlatform(Platform platform)
The operating system platform for the imported VM.
|
ImportVmImageRequest |
withPlatform(String platform)
The operating system platform for the imported VM.
|
ImportVmImageRequest |
withSemanticVersion(String semanticVersion)
The semantic version to attach to the base image that was created during the import process.
|
ImportVmImageRequest |
withTags(Map<String,String> tags)
Tags that are attached to the import resources.
|
ImportVmImageRequest |
withVmImportTaskId(String vmImportTaskId)
The
importTaskId (API) or ImportTaskId (CLI) from the Amazon EC2 VM import process. |
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 setName(String name)
The name of the base image that is created by the import process.
name
- The name of the base image that is created by the import process.public String getName()
The name of the base image that is created by the import process.
public ImportVmImageRequest withName(String name)
The name of the base image that is created by the import process.
name
- The name of the base image that is created by the import process.public void setSemanticVersion(String semanticVersion)
The semantic version to attach to the base image that was created during the import process. This version follows the semantic version syntax.
The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them.
Assignment: For the first three nodes you can assign any positive integer value, including zero, with an upper limit of 2^30-1, or 1073741823 for each node. Image Builder automatically assigns the build number to the fourth node.
Patterns: You can use any numeric pattern that adheres to the assignment requirements for the nodes that you can assign. For example, you might choose a software version pattern, such as 1.0.0, or a date, such as 2021.01.01.
semanticVersion
- The semantic version to attach to the base image that was created during the import process. This version
follows the semantic version syntax. The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them.
Assignment: For the first three nodes you can assign any positive integer value, including zero, with an upper limit of 2^30-1, or 1073741823 for each node. Image Builder automatically assigns the build number to the fourth node.
Patterns: You can use any numeric pattern that adheres to the assignment requirements for the nodes that you can assign. For example, you might choose a software version pattern, such as 1.0.0, or a date, such as 2021.01.01.
public String getSemanticVersion()
The semantic version to attach to the base image that was created during the import process. This version follows the semantic version syntax.
The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them.
Assignment: For the first three nodes you can assign any positive integer value, including zero, with an upper limit of 2^30-1, or 1073741823 for each node. Image Builder automatically assigns the build number to the fourth node.
Patterns: You can use any numeric pattern that adheres to the assignment requirements for the nodes that you can assign. For example, you might choose a software version pattern, such as 1.0.0, or a date, such as 2021.01.01.
The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them.
Assignment: For the first three nodes you can assign any positive integer value, including zero, with an upper limit of 2^30-1, or 1073741823 for each node. Image Builder automatically assigns the build number to the fourth node.
Patterns: You can use any numeric pattern that adheres to the assignment requirements for the nodes that you can assign. For example, you might choose a software version pattern, such as 1.0.0, or a date, such as 2021.01.01.
public ImportVmImageRequest withSemanticVersion(String semanticVersion)
The semantic version to attach to the base image that was created during the import process. This version follows the semantic version syntax.
The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them.
Assignment: For the first three nodes you can assign any positive integer value, including zero, with an upper limit of 2^30-1, or 1073741823 for each node. Image Builder automatically assigns the build number to the fourth node.
Patterns: You can use any numeric pattern that adheres to the assignment requirements for the nodes that you can assign. For example, you might choose a software version pattern, such as 1.0.0, or a date, such as 2021.01.01.
semanticVersion
- The semantic version to attach to the base image that was created during the import process. This version
follows the semantic version syntax. The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them.
Assignment: For the first three nodes you can assign any positive integer value, including zero, with an upper limit of 2^30-1, or 1073741823 for each node. Image Builder automatically assigns the build number to the fourth node.
Patterns: You can use any numeric pattern that adheres to the assignment requirements for the nodes that you can assign. For example, you might choose a software version pattern, such as 1.0.0, or a date, such as 2021.01.01.
public void setDescription(String description)
The description for the base image that is created by the import process.
description
- The description for the base image that is created by the import process.public String getDescription()
The description for the base image that is created by the import process.
public ImportVmImageRequest withDescription(String description)
The description for the base image that is created by the import process.
description
- The description for the base image that is created by the import process.public void setPlatform(String platform)
The operating system platform for the imported VM.
platform
- The operating system platform for the imported VM.Platform
public String getPlatform()
The operating system platform for the imported VM.
Platform
public ImportVmImageRequest withPlatform(String platform)
The operating system platform for the imported VM.
platform
- The operating system platform for the imported VM.Platform
public ImportVmImageRequest withPlatform(Platform platform)
The operating system platform for the imported VM.
platform
- The operating system platform for the imported VM.Platform
public void setOsVersion(String osVersion)
The operating system version for the imported VM.
osVersion
- The operating system version for the imported VM.public String getOsVersion()
The operating system version for the imported VM.
public ImportVmImageRequest withOsVersion(String osVersion)
The operating system version for the imported VM.
osVersion
- The operating system version for the imported VM.public void setVmImportTaskId(String vmImportTaskId)
The importTaskId
(API) or ImportTaskId
(CLI) from the Amazon EC2 VM import process.
Image Builder retrieves information from the import process to pull in the AMI that is created from the VM source
as the base image for your recipe.
vmImportTaskId
- The importTaskId
(API) or ImportTaskId
(CLI) from the Amazon EC2 VM import
process. Image Builder retrieves information from the import process to pull in the AMI that is created
from the VM source as the base image for your recipe.public String getVmImportTaskId()
The importTaskId
(API) or ImportTaskId
(CLI) from the Amazon EC2 VM import process.
Image Builder retrieves information from the import process to pull in the AMI that is created from the VM source
as the base image for your recipe.
importTaskId
(API) or ImportTaskId
(CLI) from the Amazon EC2 VM import
process. Image Builder retrieves information from the import process to pull in the AMI that is created
from the VM source as the base image for your recipe.public ImportVmImageRequest withVmImportTaskId(String vmImportTaskId)
The importTaskId
(API) or ImportTaskId
(CLI) from the Amazon EC2 VM import process.
Image Builder retrieves information from the import process to pull in the AMI that is created from the VM source
as the base image for your recipe.
vmImportTaskId
- The importTaskId
(API) or ImportTaskId
(CLI) from the Amazon EC2 VM import
process. Image Builder retrieves information from the import process to pull in the AMI that is created
from the VM source as the base image for your recipe.public Map<String,String> getTags()
Tags that are attached to the import resources.
public void setTags(Map<String,String> tags)
Tags that are attached to the import resources.
tags
- Tags that are attached to the import resources.public ImportVmImageRequest withTags(Map<String,String> tags)
Tags that are attached to the import resources.
tags
- Tags that are attached to the import resources.public ImportVmImageRequest addTagsEntry(String key, String value)
public ImportVmImageRequest clearTagsEntries()
public void setClientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
clientToken
- Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information,
see Ensuring
idempotency in the Amazon EC2 API Reference.public String getClientToken()
Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
public ImportVmImageRequest withClientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
clientToken
- Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information,
see Ensuring
idempotency in the Amazon EC2 API Reference.public String toString()
toString
in class Object
Object.toString()
public ImportVmImageRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()