Interface OutputResources.Builder

  • Method Details

    • amis

      The Amazon EC2 AMIs created by this image. The list contains one entry per AMI, including copies that distribution created in each target Amazon Web Services Region and account.

      Parameters:
      amis - The Amazon EC2 AMIs created by this image. The list contains one entry per AMI, including copies that distribution created in each target Amazon Web Services Region and account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • amis

      The Amazon EC2 AMIs created by this image. The list contains one entry per AMI, including copies that distribution created in each target Amazon Web Services Region and account.

      Parameters:
      amis - The Amazon EC2 AMIs created by this image. The list contains one entry per AMI, including copies that distribution created in each target Amazon Web Services Region and account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • amis

      The Amazon EC2 AMIs created by this image. The list contains one entry per AMI, including copies that distribution created in each target Amazon Web Services Region and account.

      This is a convenience method that creates an instance of the Ami.Builder avoiding the need to create one manually via Ami.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to amis(List<Ami>).

      Parameters:
      amis - a consumer that will call methods on Ami.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • containers

      OutputResources.Builder containers(Collection<Container> containers)

      The container images that Image Builder created when it built this image, stored in the output Amazon ECR repository.

      Parameters:
      containers - The container images that Image Builder created when it built this image, stored in the output Amazon ECR repository.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • containers

      OutputResources.Builder containers(Container... containers)

      The container images that Image Builder created when it built this image, stored in the output Amazon ECR repository.

      Parameters:
      containers - The container images that Image Builder created when it built this image, stored in the output Amazon ECR repository.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • containers

      The container images that Image Builder created when it built this image, stored in the output Amazon ECR repository.

      This is a convenience method that creates an instance of the Container.Builder avoiding the need to create one manually via Container.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to containers(List<Container>).

      Parameters:
      containers - a consumer that will call methods on Container.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: