Interface ImportDiskImageRequest.Builder

    • Method Detail

      • name

        ImportDiskImageRequest.Builder name​(String name)

        The name of the image resource that's created from the import.

        Parameters:
        name - The name of the image resource that's created from the import.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • semanticVersion

        ImportDiskImageRequest.Builder semanticVersion​(String semanticVersion)

        The semantic version to attach to the image that's created during the import process. This version follows the semantic version syntax.

        Parameters:
        semanticVersion - The semantic version to attach to the image that's created during the import process. This version follows the semantic version syntax.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        ImportDiskImageRequest.Builder description​(String description)

        The description for your disk image import.

        Parameters:
        description - The description for your disk image import.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • platform

        ImportDiskImageRequest.Builder platform​(String platform)

        The operating system platform for the imported image. Allowed values include the following: Windows.

        Parameters:
        platform - The operating system platform for the imported image. Allowed values include the following: Windows.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • osVersion

        ImportDiskImageRequest.Builder osVersion​(String osVersion)

        The operating system version for the imported image. Allowed values include the following: Microsoft Windows 11.

        Parameters:
        osVersion - The operating system version for the imported image. Allowed values include the following: Microsoft Windows 11.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • executionRole

        ImportDiskImageRequest.Builder executionRole​(String executionRole)

        The name or Amazon Resource Name (ARN) for the IAM role you create that grants Image Builder access to perform workflow actions to import an image from a Microsoft ISO file.

        Parameters:
        executionRole - The name or Amazon Resource Name (ARN) for the IAM role you create that grants Image Builder access to perform workflow actions to import an image from a Microsoft ISO file.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • infrastructureConfigurationArn

        ImportDiskImageRequest.Builder infrastructureConfigurationArn​(String infrastructureConfigurationArn)

        The Amazon Resource Name (ARN) of the infrastructure configuration resource that's used for launching the EC2 instance on which the ISO image is built.

        Parameters:
        infrastructureConfigurationArn - The Amazon Resource Name (ARN) of the infrastructure configuration resource that's used for launching the EC2 instance on which the ISO image is built.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • uri

        ImportDiskImageRequest.Builder uri​(String uri)

        The uri of the ISO disk file that's stored in Amazon S3.

        Parameters:
        uri - The uri of the ISO disk file that's stored in Amazon S3.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        ImportDiskImageRequest.Builder tags​(Map<String,​String> tags)

        Tags that are attached to image resources created from the import.

        Parameters:
        tags - Tags that are attached to image resources created from the import.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clientToken

        ImportDiskImageRequest.Builder clientToken​(String clientToken)

        Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.

        Parameters:
        clientToken - Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
        Returns:
        Returns a reference to this object so that method calls can be chained together.