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 encypted.
|
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 AWS Key Management Service (AWS KMS) customer master key (CMK) that was used to create
the encrypted AMI.
|
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.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
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 encypted.
encrypted
- Indicates whether the AMI is encypted.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 AWS Key Management Service (AWS KMS) customer master key (CMK) that was used to create the encrypted AMI.
kmsKeyId
- The identifier for the AWS Key Management Service (AWS KMS) customer master key (CMK) 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 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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.