Interface ImportImageTask.Builder

    • 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.
      • 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 the Tag.Builder avoiding the need to create one manually via Tag.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 on Tag.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.
      • 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