Interface ImportImageResponse.Builder

    • 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.
      • 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​(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.
      • 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 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)
      • 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.