Interface ImportVmImageRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ImportVmImageRequest.Builder,ImportVmImageRequest>,ImagebuilderRequest.Builder,SdkBuilder<ImportVmImageRequest.Builder,ImportVmImageRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ImportVmImageRequest
public static interface ImportVmImageRequest.Builder extends ImagebuilderRequest.Builder, SdkPojo, CopyableBuilder<ImportVmImageRequest.Builder,ImportVmImageRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ImportVmImageRequest.BuilderclientToken(String clientToken)Unique, case-sensitive identifier you provide to ensure idempotency of the request.ImportVmImageRequest.Builderdescription(String description)The description for the base image that is created by the import process.ImportVmImageRequest.Buildername(String name)The name of the base image that is created by the import process.ImportVmImageRequest.BuilderosVersion(String osVersion)The operating system version for the imported VM.ImportVmImageRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ImportVmImageRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ImportVmImageRequest.Builderplatform(String platform)The operating system platform for the imported VM.ImportVmImageRequest.Builderplatform(Platform platform)The operating system platform for the imported VM.ImportVmImageRequest.BuildersemanticVersion(String semanticVersion)The semantic version to attach to the base image that was created during the import process.ImportVmImageRequest.Buildertags(Map<String,String> tags)Tags that are attached to the import resources.ImportVmImageRequest.BuildervmImportTaskId(String vmImportTaskId)TheimportTaskId(API) orImportTaskId(CLI) from the Amazon EC2 VM import process.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.imagebuilder.model.ImagebuilderRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
name
ImportVmImageRequest.Builder name(String name)
The name of the base image that is created by the import process.
- Parameters:
name- The name of the base image that is created by the import process.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
semanticVersion
ImportVmImageRequest.Builder semanticVersion(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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
ImportVmImageRequest.Builder description(String description)
The description for the base image that is created by the import process.
- Parameters:
description- The description for the base image that is created by the import process.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
platform
ImportVmImageRequest.Builder platform(String platform)
The operating system platform for the imported VM.
-
platform
ImportVmImageRequest.Builder platform(Platform platform)
The operating system platform for the imported VM.
-
osVersion
ImportVmImageRequest.Builder osVersion(String osVersion)
The operating system version for the imported VM.
- Parameters:
osVersion- The operating system version for the imported VM.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vmImportTaskId
ImportVmImageRequest.Builder vmImportTaskId(String vmImportTaskId)
The
importTaskId(API) orImportTaskId(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.- Parameters:
vmImportTaskId- TheimportTaskId(API) orImportTaskId(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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
ImportVmImageRequest.Builder tags(Map<String,String> tags)
Tags that are attached to the import resources.
- Parameters:
tags- Tags that are attached to the import resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
ImportVmImageRequest.Builder clientToken(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ImportVmImageRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ImportVmImageRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-