Interface ImportDiskImageRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ImportDiskImageRequest.Builder,ImportDiskImageRequest>,ImagebuilderRequest.Builder,SdkBuilder<ImportDiskImageRequest.Builder,ImportDiskImageRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ImportDiskImageRequest
public static interface ImportDiskImageRequest.Builder extends ImagebuilderRequest.Builder, SdkPojo, CopyableBuilder<ImportDiskImageRequest.Builder,ImportDiskImageRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ImportDiskImageRequest.BuilderclientToken(String clientToken)Unique, case-sensitive identifier you provide to ensure idempotency of the request.ImportDiskImageRequest.Builderdescription(String description)The description for your disk image import.ImportDiskImageRequest.BuilderexecutionRole(String executionRole)The name or Amazon Resource Name (ARN) for the IAM role you create that grants Image Builder access to perform workflow actions to import an image from a Microsoft ISO file.ImportDiskImageRequest.BuilderinfrastructureConfigurationArn(String infrastructureConfigurationArn)The Amazon Resource Name (ARN) of the infrastructure configuration resource that's used for launching the EC2 instance on which the ISO image is built.ImportDiskImageRequest.Buildername(String name)The name of the image resource that's created from the import.ImportDiskImageRequest.BuilderosVersion(String osVersion)The operating system version for the imported image.ImportDiskImageRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ImportDiskImageRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ImportDiskImageRequest.Builderplatform(String platform)The operating system platform for the imported image.ImportDiskImageRequest.BuildersemanticVersion(String semanticVersion)The semantic version to attach to the image that's created during the import process.ImportDiskImageRequest.Buildertags(Map<String,String> tags)Tags that are attached to image resources created from the import.ImportDiskImageRequest.Builderuri(String uri)Theuriof the ISO disk file that's stored in Amazon S3.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
name
ImportDiskImageRequest.Builder name(String name)
The name of the image resource that's created from the import.
- Parameters:
name- The name of the image resource that's created from the import.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
semanticVersion
ImportDiskImageRequest.Builder semanticVersion(String semanticVersion)
The semantic version to attach to the image that's created during the import process. This version follows the semantic version syntax.
- Parameters:
semanticVersion- The semantic version to attach to the image that's created during the import process. This version follows the semantic version syntax.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
ImportDiskImageRequest.Builder description(String description)
The description for your disk image import.
- Parameters:
description- The description for your disk image import.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
platform
ImportDiskImageRequest.Builder platform(String platform)
The operating system platform for the imported image. Allowed values include the following:
Windows.- Parameters:
platform- The operating system platform for the imported image. Allowed values include the following:Windows.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
osVersion
ImportDiskImageRequest.Builder osVersion(String osVersion)
The operating system version for the imported image. Allowed values include the following:
Microsoft Windows 11.- Parameters:
osVersion- The operating system version for the imported image. Allowed values include the following:Microsoft Windows 11.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionRole
ImportDiskImageRequest.Builder executionRole(String executionRole)
The name or Amazon Resource Name (ARN) for the IAM role you create that grants Image Builder access to perform workflow actions to import an image from a Microsoft ISO file.
- Parameters:
executionRole- The name or Amazon Resource Name (ARN) for the IAM role you create that grants Image Builder access to perform workflow actions to import an image from a Microsoft ISO file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
infrastructureConfigurationArn
ImportDiskImageRequest.Builder infrastructureConfigurationArn(String infrastructureConfigurationArn)
The Amazon Resource Name (ARN) of the infrastructure configuration resource that's used for launching the EC2 instance on which the ISO image is built.
- Parameters:
infrastructureConfigurationArn- The Amazon Resource Name (ARN) of the infrastructure configuration resource that's used for launching the EC2 instance on which the ISO image is built.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
uri
ImportDiskImageRequest.Builder uri(String uri)
The
uriof the ISO disk file that's stored in Amazon S3.- Parameters:
uri- Theuriof the ISO disk file that's stored in Amazon S3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
ImportDiskImageRequest.Builder tags(Map<String,String> tags)
Tags that are attached to image resources created from the import.
- Parameters:
tags- Tags that are attached to image resources created from the import.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
ImportDiskImageRequest.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
ImportDiskImageRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ImportDiskImageRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-