Interface OutputResources.Builder

    • Method Detail

      • amis

        OutputResources.Builder amis​(Collection<Ami> amis)

        The Amazon EC2 AMIs created by this image.

        Parameters:
        amis - The Amazon EC2 AMIs created by this image.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • amis

        OutputResources.Builder amis​(Ami... amis)

        The Amazon EC2 AMIs created by this image.

        Parameters:
        amis - The Amazon EC2 AMIs created by this image.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • amis

        OutputResources.Builder amis​(Consumer<Ami.Builder>... amis)

        The Amazon EC2 AMIs created by this image.

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

        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:
        #amis(java.util.Collection)
      • containers

        OutputResources.Builder containers​(Collection<Container> containers)

        Container images that the pipeline has generated and stored in the output repository.

        Parameters:
        containers - Container images that the pipeline has generated and stored in the output repository.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • containers

        OutputResources.Builder containers​(Container... containers)

        Container images that the pipeline has generated and stored in the output repository.

        Parameters:
        containers - Container images that the pipeline has generated and stored in the output repository.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • containers

        OutputResources.Builder containers​(Consumer<Container.Builder>... containers)

        Container images that the pipeline has generated and stored in the output 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).

        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:
        #containers(java.util.Collection)