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)

        The idempotency token used to make this request idempotent.

        Parameters:
        clientToken - The idempotency token used to make this request idempotent.
        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.