Interface ImportImageTask.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<ImportImageTask.Builder,ImportImageTask>
,SdkBuilder<ImportImageTask.Builder,ImportImageTask>
,SdkPojo
- Enclosing class:
- ImportImageTask
public static interface ImportImageTask.Builder extends SdkPojo, CopyableBuilder<ImportImageTask.Builder,ImportImageTask>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ImportImageTask.Builder
architecture(String architecture)
The architecture of the virtual machine.ImportImageTask.Builder
bootMode(String bootMode)
The boot mode of the virtual machine.ImportImageTask.Builder
bootMode(BootModeValues bootMode)
The boot mode of the virtual machine.ImportImageTask.Builder
description(String description)
A description of the import task.ImportImageTask.Builder
encrypted(Boolean encrypted)
Indicates whether the image is encrypted.ImportImageTask.Builder
hypervisor(String hypervisor)
The target hypervisor for the import task.ImportImageTask.Builder
imageId(String imageId)
The ID of the Amazon Machine Image (AMI) of the imported virtual machine.ImportImageTask.Builder
importTaskId(String importTaskId)
The ID of the import image task.ImportImageTask.Builder
kmsKeyId(String kmsKeyId)
The identifier for the KMS key that was used to create the encrypted image.ImportImageTask.Builder
licenseSpecifications(Collection<ImportImageLicenseConfigurationResponse> licenseSpecifications)
The ARNs of the license configurations that are associated with the import image task.ImportImageTask.Builder
licenseSpecifications(Consumer<ImportImageLicenseConfigurationResponse.Builder>... licenseSpecifications)
The ARNs of the license configurations that are associated with the import image task.ImportImageTask.Builder
licenseSpecifications(ImportImageLicenseConfigurationResponse... licenseSpecifications)
The ARNs of the license configurations that are associated with the import image task.ImportImageTask.Builder
licenseType(String licenseType)
The license type of the virtual machine.ImportImageTask.Builder
platform(String platform)
The description string for the import image task.ImportImageTask.Builder
progress(String progress)
The percentage of progress of the import image task.ImportImageTask.Builder
snapshotDetails(Collection<SnapshotDetail> snapshotDetails)
Information about the snapshots.ImportImageTask.Builder
snapshotDetails(Consumer<SnapshotDetail.Builder>... snapshotDetails)
Information about the snapshots.ImportImageTask.Builder
snapshotDetails(SnapshotDetail... snapshotDetails)
Information about the snapshots.ImportImageTask.Builder
status(String status)
A brief status for the import image task.ImportImageTask.Builder
statusMessage(String statusMessage)
A descriptive status message for the import image task.ImportImageTask.Builder
tags(Collection<Tag> tags)
The tags for the import image task.ImportImageTask.Builder
tags(Consumer<Tag.Builder>... tags)
The tags for the import image task.ImportImageTask.Builder
tags(Tag... tags)
The tags for the import image task.ImportImageTask.Builder
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 Detail
-
architecture
ImportImageTask.Builder architecture(String 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
ImportImageTask.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
ImportImageTask.Builder encrypted(Boolean 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
ImportImageTask.Builder hypervisor(String 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
ImportImageTask.Builder imageId(String 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
ImportImageTask.Builder importTaskId(String 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
ImportImageTask.Builder kmsKeyId(String 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
ImportImageTask.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
ImportImageTask.Builder platform(String 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
ImportImageTask.Builder progress(String 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
ImportImageTask.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
ImportImageTask.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
ImportImageTask.Builder snapshotDetails(Consumer<SnapshotDetail.Builder>... 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 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
ImportImageTask.Builder status(String 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
ImportImageTask.Builder statusMessage(String 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
ImportImageTask.Builder tags(Collection<Tag> 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
ImportImageTask.Builder tags(Tag... 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
ImportImageTask.Builder tags(Consumer<Tag.Builder>... 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 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
)
-
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 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
)
-
usageOperation
ImportImageTask.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.
-
bootMode
ImportImageTask.Builder bootMode(String 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:
BootModeValues
,BootModeValues
-
bootMode
ImportImageTask.Builder bootMode(BootModeValues 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:
BootModeValues
,BootModeValues
-
-