Interface ImportDiskImageRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ImportDiskImageRequest.Builder,
,ImportDiskImageRequest> ImagebuilderRequest.Builder
,SdkBuilder<ImportDiskImageRequest.Builder,
,ImportDiskImageRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ImportDiskImageRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) Unique, case-sensitive identifier you provide to ensure idempotency of the request.description
(String description) The description for your disk image import.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.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.The name of the image resource that's created from the import.The operating system version for the imported image.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The operating system platform for the imported image.semanticVersion
(String semanticVersion) The semantic version to attach to the image that's created during the import process.Tags that are attached to image resources created from the import.Theuri
of 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 Details
-
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
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
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
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
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
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
The
uri
of the ISO disk file that's stored in Amazon S3.- Parameters:
uri
- Theuri
of 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
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
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) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ImportDiskImageRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-