Interface ImportImageResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ImportImageResponse.Builder,ImportImageResponse>,Ec2Response.Builder,SdkBuilder<ImportImageResponse.Builder,ImportImageResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ImportImageResponse
public static interface ImportImageResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<ImportImageResponse.Builder,ImportImageResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ImportImageResponse.Builderarchitecture(String architecture)The architecture of the virtual machine.ImportImageResponse.Builderdescription(String description)A description of the import task.ImportImageResponse.Builderencrypted(Boolean encrypted)Indicates whether the AMI is encrypted.ImportImageResponse.Builderhypervisor(String hypervisor)The target hypervisor of the import task.ImportImageResponse.BuilderimageId(String imageId)The ID of the Amazon Machine Image (AMI) created by the import task.ImportImageResponse.BuilderimportTaskId(String importTaskId)The task ID of the import image task.ImportImageResponse.BuilderkmsKeyId(String kmsKeyId)The identifier for the symmetric KMS key that was used to create the encrypted AMI.ImportImageResponse.BuilderlicenseSpecifications(Collection<ImportImageLicenseConfigurationResponse> licenseSpecifications)The ARNs of the license configurations.ImportImageResponse.BuilderlicenseSpecifications(Consumer<ImportImageLicenseConfigurationResponse.Builder>... licenseSpecifications)The ARNs of the license configurations.ImportImageResponse.BuilderlicenseSpecifications(ImportImageLicenseConfigurationResponse... licenseSpecifications)The ARNs of the license configurations.ImportImageResponse.BuilderlicenseType(String licenseType)The license type of the virtual machine.ImportImageResponse.Builderplatform(String platform)The operating system of the virtual machine.ImportImageResponse.Builderprogress(String progress)The progress of the task.ImportImageResponse.BuildersnapshotDetails(Collection<SnapshotDetail> snapshotDetails)Information about the snapshots.ImportImageResponse.BuildersnapshotDetails(Consumer<SnapshotDetail.Builder>... snapshotDetails)Information about the snapshots.ImportImageResponse.BuildersnapshotDetails(SnapshotDetail... snapshotDetails)Information about the snapshots.ImportImageResponse.Builderstatus(String status)A brief status of the task.ImportImageResponse.BuilderstatusMessage(String statusMessage)A detailed status message of the import task.ImportImageResponse.Buildertags(Collection<Tag> tags)Any tags assigned to the import image task.ImportImageResponse.Buildertags(Consumer<Tag.Builder>... tags)Any tags assigned to the import image task.ImportImageResponse.Buildertags(Tag... tags)Any tags assigned to the import image task.ImportImageResponse.BuilderusageOperation(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 Detail
-
architecture
ImportImageResponse.Builder architecture(String 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
ImportImageResponse.Builder description(String 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
ImportImageResponse.Builder encrypted(Boolean 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
ImportImageResponse.Builder hypervisor(String 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
ImportImageResponse.Builder imageId(String 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
ImportImageResponse.Builder importTaskId(String 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
ImportImageResponse.Builder kmsKeyId(String 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
ImportImageResponse.Builder licenseType(String 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
ImportImageResponse.Builder platform(String 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
ImportImageResponse.Builder progress(String 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
ImportImageResponse.Builder snapshotDetails(Collection<SnapshotDetail> 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
ImportImageResponse.Builder snapshotDetails(SnapshotDetail... 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
ImportImageResponse.Builder snapshotDetails(Consumer<SnapshotDetail.Builder>... snapshotDetails)
Information about the snapshots.
This is a convenience method that creates an instance of theSnapshotDetail.Builderavoiding the need to create one manually viaSnapshotDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#snapshotDetails(List.) - 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:
#snapshotDetails(java.util.Collection)
-
status
ImportImageResponse.Builder status(String 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
ImportImageResponse.Builder statusMessage(String 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.Builderavoiding the need to create one manually viaImportImageLicenseConfigurationResponse.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#licenseSpecifications(List.) - 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:
#licenseSpecifications(java.util.Collection)
-
tags
ImportImageResponse.Builder tags(Collection<Tag> 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
ImportImageResponse.Builder tags(Tag... 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
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 theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - 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:
#tags(java.util.Collection)
-
usageOperation
ImportImageResponse.Builder usageOperation(String 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.
-
-