Interface ImportImageResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ImportImageResponse.Builder,
,ImportImageResponse> Ec2Response.Builder
,SdkBuilder<ImportImageResponse.Builder,
,ImportImageResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ImportImageResponse
-
Method Summary
Modifier and TypeMethodDescriptionarchitecture
(String architecture) The architecture of the virtual machine.description
(String description) A description of the import task.Indicates whether the AMI is encrypted.hypervisor
(String hypervisor) The target hypervisor of the import task.The ID of the Amazon Machine Image (AMI) created by the import task.importTaskId
(String importTaskId) The task ID of the import image task.The identifier for the symmetric KMS key that was used to create the encrypted AMI.licenseSpecifications
(Collection<ImportImageLicenseConfigurationResponse> licenseSpecifications) The ARNs of the license configurations.licenseSpecifications
(Consumer<ImportImageLicenseConfigurationResponse.Builder>... licenseSpecifications) The ARNs of the license configurations.licenseSpecifications
(ImportImageLicenseConfigurationResponse... licenseSpecifications) The ARNs of the license configurations.licenseType
(String licenseType) The license type of the virtual machine.The operating system of the virtual machine.The progress of the 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 of the task.statusMessage
(String statusMessage) A detailed status message of the import task.tags
(Collection<Tag> tags) Any tags assigned to the import image task.tags
(Consumer<Tag.Builder>... tags) Any tags assigned to the import image task.Any tags assigned to 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.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
architecture
The architecture of the virtual machine.
- Parameters:
architecture
- The architecture of the virtual machine.- 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 AMI is encrypted.
- Parameters:
encrypted
- Indicates whether the AMI is encrypted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hypervisor
The target hypervisor of the import task.
- Parameters:
hypervisor
- The target hypervisor of the import task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageId
The ID of the Amazon Machine Image (AMI) created by the import task.
- Parameters:
imageId
- The ID of the Amazon Machine Image (AMI) created by the import task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importTaskId
The task ID of the import image task.
- Parameters:
importTaskId
- The task 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 symmetric KMS key that was used to create the encrypted AMI.
- Parameters:
kmsKeyId
- The identifier for the symmetric KMS key that was used to create the encrypted AMI.- 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 operating system of the virtual machine.
- Parameters:
platform
- The operating system of the virtual machine.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
progress
The progress of the task.
- Parameters:
progress
- The progress of the 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 of the task.
- Parameters:
status
- A brief status of the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusMessage
A detailed status message of the import task.
- Parameters:
statusMessage
- A detailed status message of the import task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenseSpecifications
ImportImageResponse.Builder licenseSpecifications(Collection<ImportImageLicenseConfigurationResponse> licenseSpecifications) The ARNs of the license configurations.
- Parameters:
licenseSpecifications
- The ARNs of the license configurations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenseSpecifications
ImportImageResponse.Builder licenseSpecifications(ImportImageLicenseConfigurationResponse... licenseSpecifications) The ARNs of the license configurations.
- Parameters:
licenseSpecifications
- The ARNs of the license configurations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenseSpecifications
ImportImageResponse.Builder licenseSpecifications(Consumer<ImportImageLicenseConfigurationResponse.Builder>... licenseSpecifications) The ARNs of the license configurations.
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:
-
tags
Any tags assigned to the import image task.
- Parameters:
tags
- Any tags assigned to the import image task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Any tags assigned to the import image task.
- Parameters:
tags
- Any tags assigned to the import image task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Any tags assigned to 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:
-
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.
-