public static interface ImportImageResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<ImportImageResponse.Builder,ImportImageResponse>
Modifier and Type | Method and Description |
---|---|
ImportImageResponse.Builder |
architecture(String architecture)
The architecture of the virtual machine.
|
ImportImageResponse.Builder |
description(String description)
A description of the import task.
|
ImportImageResponse.Builder |
encrypted(Boolean encrypted)
Indicates whether the AMI is encrypted.
|
ImportImageResponse.Builder |
hypervisor(String hypervisor)
The target hypervisor of the import task.
|
ImportImageResponse.Builder |
imageId(String imageId)
The ID of the Amazon Machine Image (AMI) created by the import task.
|
ImportImageResponse.Builder |
importTaskId(String importTaskId)
The task ID of the import image task.
|
ImportImageResponse.Builder |
kmsKeyId(String kmsKeyId)
The identifier for the symmetric KMS key that was used to create the encrypted AMI.
|
ImportImageResponse.Builder |
licenseSpecifications(Collection<ImportImageLicenseConfigurationResponse> licenseSpecifications)
The ARNs of the license configurations.
|
ImportImageResponse.Builder |
licenseSpecifications(Consumer<ImportImageLicenseConfigurationResponse.Builder>... licenseSpecifications)
The ARNs of the license configurations.
|
ImportImageResponse.Builder |
licenseSpecifications(ImportImageLicenseConfigurationResponse... licenseSpecifications)
The ARNs of the license configurations.
|
ImportImageResponse.Builder |
licenseType(String licenseType)
The license type of the virtual machine.
|
ImportImageResponse.Builder |
platform(String platform)
The operating system of the virtual machine.
|
ImportImageResponse.Builder |
progress(String progress)
The progress of the task.
|
ImportImageResponse.Builder |
snapshotDetails(Collection<SnapshotDetail> snapshotDetails)
Information about the snapshots.
|
ImportImageResponse.Builder |
snapshotDetails(Consumer<SnapshotDetail.Builder>... snapshotDetails)
Information about the snapshots.
|
ImportImageResponse.Builder |
snapshotDetails(SnapshotDetail... snapshotDetails)
Information about the snapshots.
|
ImportImageResponse.Builder |
status(String status)
A brief status of the task.
|
ImportImageResponse.Builder |
statusMessage(String statusMessage)
A detailed status message of the import task.
|
ImportImageResponse.Builder |
tags(Collection<Tag> tags)
Any tags assigned to the import image task.
|
ImportImageResponse.Builder |
tags(Consumer<Tag.Builder>... tags)
Any tags assigned to the import image task.
|
ImportImageResponse.Builder |
tags(Tag... tags)
Any tags assigned to the import image task.
|
ImportImageResponse.Builder |
usageOperation(String usageOperation)
The usage operation value.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
ImportImageResponse.Builder architecture(String architecture)
The architecture of the virtual machine.
architecture
- The architecture of the virtual machine.ImportImageResponse.Builder description(String description)
A description of the import task.
description
- A description of the import task.ImportImageResponse.Builder encrypted(Boolean encrypted)
Indicates whether the AMI is encrypted.
encrypted
- Indicates whether the AMI is encrypted.ImportImageResponse.Builder hypervisor(String hypervisor)
The target hypervisor of the import task.
hypervisor
- The target hypervisor of the import task.ImportImageResponse.Builder imageId(String imageId)
The ID of the Amazon Machine Image (AMI) created by the import task.
imageId
- The ID of the Amazon Machine Image (AMI) created by the import task.ImportImageResponse.Builder importTaskId(String importTaskId)
The task ID of the import image task.
importTaskId
- The task ID of the import image task.ImportImageResponse.Builder kmsKeyId(String kmsKeyId)
The identifier for the symmetric KMS key that was used to create the encrypted AMI.
kmsKeyId
- The identifier for the symmetric KMS key that was used to create the encrypted AMI.ImportImageResponse.Builder licenseType(String licenseType)
The license type of the virtual machine.
licenseType
- The license type of the virtual machine.ImportImageResponse.Builder platform(String platform)
The operating system of the virtual machine.
platform
- The operating system of the virtual machine.ImportImageResponse.Builder progress(String progress)
The progress of the task.
progress
- The progress of the task.ImportImageResponse.Builder snapshotDetails(Collection<SnapshotDetail> snapshotDetails)
Information about the snapshots.
snapshotDetails
- Information about the snapshots.ImportImageResponse.Builder snapshotDetails(SnapshotDetail... snapshotDetails)
Information about the snapshots.
snapshotDetails
- Information about the snapshots.ImportImageResponse.Builder snapshotDetails(Consumer<SnapshotDetail.Builder>... snapshotDetails)
Information about the snapshots.
This is a convenience method that creates an instance of theList.Builder
avoiding
the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #snapshotDetails(List)
.snapshotDetails
- a consumer that will call methods on List.Builder
#snapshotDetails(List)
ImportImageResponse.Builder status(String status)
A brief status of the task.
status
- A brief status of the task.ImportImageResponse.Builder statusMessage(String statusMessage)
A detailed status message of the import task.
statusMessage
- A detailed status message of the import task.ImportImageResponse.Builder licenseSpecifications(Collection<ImportImageLicenseConfigurationResponse> licenseSpecifications)
The ARNs of the license configurations.
licenseSpecifications
- The ARNs of the license configurations.ImportImageResponse.Builder licenseSpecifications(ImportImageLicenseConfigurationResponse... licenseSpecifications)
The ARNs of the license configurations.
licenseSpecifications
- The ARNs of the license configurations.ImportImageResponse.Builder licenseSpecifications(Consumer<ImportImageLicenseConfigurationResponse.Builder>... licenseSpecifications)
The ARNs of the license configurations.
This is a convenience method that creates an instance of the.Builder
avoiding the need to create one manually via #builder()
.
When the Consumer
completes, List.Builder#build()
is
called immediately and its result is passed to #licenseSpecifications(List)
.licenseSpecifications
- a consumer that will call methods on List.Builder
#licenseSpecifications(List)
ImportImageResponse.Builder tags(Collection<Tag> tags)
Any tags assigned to the import image task.
tags
- Any tags assigned to the import image task.ImportImageResponse.Builder tags(Tag... tags)
Any tags assigned to the import image task.
tags
- Any tags assigned to the import image task.ImportImageResponse.Builder tags(Consumer<Tag.Builder>... tags)
Any tags assigned to the import image task.
This is a convenience method that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
ImportImageResponse.Builder usageOperation(String usageOperation)
The usage operation value.
usageOperation
- The usage operation value.Copyright © 2022. All rights reserved.