Interface ImportImageTask.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ImportImageTask.Builder,
,ImportImageTask> SdkBuilder<ImportImageTask.Builder,
,ImportImageTask> SdkPojo
- Enclosing class:
ImportImageTask
-
Method Summary
Modifier and TypeMethodDescriptionarchitecture
(String architecture) The architecture of the virtual machine.The boot mode of the virtual machine.bootMode
(BootModeValues bootMode) The boot mode of the virtual machine.description
(String description) A description of the import task.Indicates whether the image is encrypted.hypervisor
(String hypervisor) The target hypervisor for the import task.The ID of the Amazon Machine Image (AMI) of the imported virtual machine.importTaskId
(String importTaskId) The ID of the import image task.The identifier for the KMS key that was used to create the encrypted image.licenseSpecifications
(Collection<ImportImageLicenseConfigurationResponse> licenseSpecifications) The ARNs of the license configurations that are associated with the import image task.licenseSpecifications
(Consumer<ImportImageLicenseConfigurationResponse.Builder>... licenseSpecifications) The ARNs of the license configurations that are associated with the import image task.licenseSpecifications
(ImportImageLicenseConfigurationResponse... licenseSpecifications) The ARNs of the license configurations that are associated with the import image task.licenseType
(String licenseType) The license type of the virtual machine.The description string for the import image task.The percentage of progress of the import image task.snapshotDetails
(Collection<SnapshotDetail> snapshotDetails) Information about the snapshots.snapshotDetails
(Consumer<SnapshotDetail.Builder>... snapshotDetails) Information about the snapshots.snapshotDetails
(SnapshotDetail... snapshotDetails) Information about the snapshots.A brief status for the import image task.statusMessage
(String statusMessage) A descriptive status message for the import image task.tags
(Collection<Tag> tags) The tags for the import image task.tags
(Consumer<Tag.Builder>... tags) The tags for the import image task.The tags for the import image task.usageOperation
(String usageOperation) The usage operation value.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
architecture
The architecture of the virtual machine.
Valid values:
i386
|x86_64
|arm64
- Parameters:
architecture
- The architecture of the virtual machine.Valid values:
i386
|x86_64
|arm64
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the import task.
- Parameters:
description
- A description of the import task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encrypted
Indicates whether the image is encrypted.
- Parameters:
encrypted
- Indicates whether the image is encrypted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hypervisor
The target hypervisor for the import task.
Valid values:
xen
- Parameters:
hypervisor
- The target hypervisor for the import task.Valid values:
xen
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageId
The ID of the Amazon Machine Image (AMI) of the imported virtual machine.
- Parameters:
imageId
- The ID of the Amazon Machine Image (AMI) of the imported virtual machine.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importTaskId
The ID of the import image task.
- Parameters:
importTaskId
- The ID of the import image task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyId
The identifier for the KMS key that was used to create the encrypted image.
- Parameters:
kmsKeyId
- The identifier for the KMS key that was used to create the encrypted image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenseType
The license type of the virtual machine.
- Parameters:
licenseType
- The license type of the virtual machine.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
platform
The description string for the import image task.
- Parameters:
platform
- The description string for the import image task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
progress
The percentage of progress of the import image task.
- Parameters:
progress
- The percentage of progress of the import image task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotDetails
Information about the snapshots.
- Parameters:
snapshotDetails
- Information about the snapshots.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotDetails
Information about the snapshots.
- Parameters:
snapshotDetails
- Information about the snapshots.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotDetails
Information about the snapshots.
This is a convenience method that creates an instance of theSnapshotDetail.Builder
avoiding the need to create one manually viaSnapshotDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosnapshotDetails(List<SnapshotDetail>)
.- Parameters:
snapshotDetails
- a consumer that will call methods onSnapshotDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
A brief status for the import image task.
- Parameters:
status
- A brief status for the import image task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusMessage
A descriptive status message for the import image task.
- Parameters:
statusMessage
- A descriptive status message for the import image task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags for the import image task.
- Parameters:
tags
- The tags for the import image task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags for the import image task.
- Parameters:
tags
- The tags for the import image task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags for the import image task.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
licenseSpecifications
ImportImageTask.Builder licenseSpecifications(Collection<ImportImageLicenseConfigurationResponse> licenseSpecifications) The ARNs of the license configurations that are associated with the import image task.
- Parameters:
licenseSpecifications
- The ARNs of the license configurations that are associated with the import image task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenseSpecifications
ImportImageTask.Builder licenseSpecifications(ImportImageLicenseConfigurationResponse... licenseSpecifications) The ARNs of the license configurations that are associated with the import image task.
- Parameters:
licenseSpecifications
- The ARNs of the license configurations that are associated with the import image task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenseSpecifications
ImportImageTask.Builder licenseSpecifications(Consumer<ImportImageLicenseConfigurationResponse.Builder>... licenseSpecifications) The ARNs of the license configurations that are associated with the import image task.
This is a convenience method that creates an instance of theImportImageLicenseConfigurationResponse.Builder
avoiding the need to create one manually viaImportImageLicenseConfigurationResponse.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolicenseSpecifications(List<ImportImageLicenseConfigurationResponse>)
.- Parameters:
licenseSpecifications
- a consumer that will call methods onImportImageLicenseConfigurationResponse.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
usageOperation
The usage operation value.
- Parameters:
usageOperation
- The usage operation value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bootMode
The boot mode of the virtual machine.
- Parameters:
bootMode
- The boot mode of the virtual machine.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
bootMode
The boot mode of the virtual machine.
- Parameters:
bootMode
- The boot mode of the virtual machine.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-