Interface CreateImageRequest.Builder

    • Method Detail

      • imageRecipeArn

        CreateImageRequest.Builder imageRecipeArn​(String imageRecipeArn)

        The Amazon Resource Name (ARN) of the image recipe that defines how images are configured, tested, and assessed.

        Parameters:
        imageRecipeArn - The Amazon Resource Name (ARN) of the image recipe that defines how images are configured, tested, and assessed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • containerRecipeArn

        CreateImageRequest.Builder containerRecipeArn​(String containerRecipeArn)

        The Amazon Resource Name (ARN) of the container recipe that defines how images are configured and tested.

        Parameters:
        containerRecipeArn - The Amazon Resource Name (ARN) of the container recipe that defines how images are configured and tested.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • distributionConfigurationArn

        CreateImageRequest.Builder distributionConfigurationArn​(String distributionConfigurationArn)

        The Amazon Resource Name (ARN) of the distribution configuration that defines and configures the outputs of your pipeline.

        Parameters:
        distributionConfigurationArn - The Amazon Resource Name (ARN) of the distribution configuration that defines and configures the outputs of your pipeline.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • infrastructureConfigurationArn

        CreateImageRequest.Builder infrastructureConfigurationArn​(String infrastructureConfigurationArn)

        The Amazon Resource Name (ARN) of the infrastructure configuration that defines the environment in which your image will be built and tested.

        Parameters:
        infrastructureConfigurationArn - The Amazon Resource Name (ARN) of the infrastructure configuration that defines the environment in which your image will be built and tested.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • imageTestsConfiguration

        CreateImageRequest.Builder imageTestsConfiguration​(ImageTestsConfiguration imageTestsConfiguration)

        The image tests configuration of the image.

        Parameters:
        imageTestsConfiguration - The image tests configuration of the image.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • enhancedImageMetadataEnabled

        CreateImageRequest.Builder enhancedImageMetadataEnabled​(Boolean enhancedImageMetadataEnabled)

        Collects additional information about the image being created, including the operating system (OS) version and package list. This information is used to enhance the overall experience of using EC2 Image Builder. Enabled by default.

        Parameters:
        enhancedImageMetadataEnabled - Collects additional information about the image being created, including the operating system (OS) version and package list. This information is used to enhance the overall experience of using EC2 Image Builder. Enabled by default.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

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

        The tags of the image.

        Parameters:
        tags - The tags of the image.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clientToken

        CreateImageRequest.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.
      • imageScanningConfiguration

        CreateImageRequest.Builder imageScanningConfiguration​(ImageScanningConfiguration imageScanningConfiguration)

        Contains settings for vulnerability scans.

        Parameters:
        imageScanningConfiguration - Contains settings for vulnerability scans.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • workflows

        CreateImageRequest.Builder workflows​(Collection<WorkflowConfiguration> workflows)

        Contains an array of workflow configuration objects.

        Parameters:
        workflows - Contains an array of workflow configuration objects.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • workflows

        CreateImageRequest.Builder workflows​(WorkflowConfiguration... workflows)

        Contains an array of workflow configuration objects.

        Parameters:
        workflows - Contains an array of workflow configuration objects.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • executionRole

        CreateImageRequest.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.

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