Interface ImagePipeline.Builder

    • Method Detail

      • arn

        ImagePipeline.Builder arn​(String arn)

        The Amazon Resource Name (ARN) of the image pipeline.

        Parameters:
        arn - The Amazon Resource Name (ARN) of the image pipeline.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        ImagePipeline.Builder name​(String name)

        The name of the image pipeline.

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

        ImagePipeline.Builder description​(String description)

        The description of the image pipeline.

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

        ImagePipeline.Builder platform​(String platform)

        The platform of the image pipeline.

        Parameters:
        platform - The platform of the image pipeline.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Platform, Platform
      • platform

        ImagePipeline.Builder platform​(Platform platform)

        The platform of the image pipeline.

        Parameters:
        platform - The platform of the image pipeline.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Platform, Platform
      • enhancedImageMetadataEnabled

        ImagePipeline.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.
      • imageRecipeArn

        ImagePipeline.Builder imageRecipeArn​(String imageRecipeArn)

        The Amazon Resource Name (ARN) of the image recipe associated with this image pipeline.

        Parameters:
        imageRecipeArn - The Amazon Resource Name (ARN) of the image recipe associated with this image pipeline.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • containerRecipeArn

        ImagePipeline.Builder containerRecipeArn​(String containerRecipeArn)

        The Amazon Resource Name (ARN) of the container recipe that is used for this pipeline.

        Parameters:
        containerRecipeArn - The Amazon Resource Name (ARN) of the container recipe that is used for this pipeline.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • infrastructureConfigurationArn

        ImagePipeline.Builder infrastructureConfigurationArn​(String infrastructureConfigurationArn)

        The Amazon Resource Name (ARN) of the infrastructure configuration associated with this image pipeline.

        Parameters:
        infrastructureConfigurationArn - The Amazon Resource Name (ARN) of the infrastructure configuration associated with this image pipeline.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • distributionConfigurationArn

        ImagePipeline.Builder distributionConfigurationArn​(String distributionConfigurationArn)

        The Amazon Resource Name (ARN) of the distribution configuration associated with this image pipeline.

        Parameters:
        distributionConfigurationArn - The Amazon Resource Name (ARN) of the distribution configuration associated with this image pipeline.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • imageTestsConfiguration

        ImagePipeline.Builder imageTestsConfiguration​(ImageTestsConfiguration imageTestsConfiguration)

        The image tests configuration of the image pipeline.

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

        ImagePipeline.Builder schedule​(Schedule schedule)

        The schedule of the image pipeline.

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

        ImagePipeline.Builder status​(String status)

        The status of the image pipeline.

        Parameters:
        status - The status of the image pipeline.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PipelineStatus, PipelineStatus
      • dateCreated

        ImagePipeline.Builder dateCreated​(String dateCreated)

        The date on which this image pipeline was created.

        Parameters:
        dateCreated - The date on which this image pipeline was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dateUpdated

        ImagePipeline.Builder dateUpdated​(String dateUpdated)

        The date on which this image pipeline was last updated.

        Parameters:
        dateUpdated - The date on which this image pipeline was last updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dateLastRun

        ImagePipeline.Builder dateLastRun​(String dateLastRun)

        This is no longer supported, and does not return a value.

        Parameters:
        dateLastRun - This is no longer supported, and does not return a value.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dateNextRun

        ImagePipeline.Builder dateNextRun​(String dateNextRun)

        The next date when the pipeline is scheduled to run.

        Parameters:
        dateNextRun - The next date when the pipeline is scheduled to run.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

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

        The tags of this image pipeline.

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

        ImagePipeline.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.
      • executionRole

        ImagePipeline.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.
      • workflows

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

        Contains the workflows that run for the image pipeline.

        Parameters:
        workflows - Contains the workflows that run for the image pipeline.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • workflows

        ImagePipeline.Builder workflows​(WorkflowConfiguration... workflows)

        Contains the workflows that run for the image pipeline.

        Parameters:
        workflows - Contains the workflows that run for the image pipeline.
        Returns:
        Returns a reference to this object so that method calls can be chained together.