Interface ListImagesResponse.Builder

    • Method Detail

      • images

        ListImagesResponse.Builder images​(Collection<Image> images)

        A list of images and their properties.

        Parameters:
        images - A list of images and their properties.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • images

        ListImagesResponse.Builder images​(Image... images)

        A list of images and their properties.

        Parameters:
        images - A list of images and their properties.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • images

        ListImagesResponse.Builder images​(Consumer<Image.Builder>... images)

        A list of images and their properties.

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

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #images(List).

        Parameters:
        images - a consumer that will call methods on Image.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #images(java.util.Collection)
      • nextToken

        ListImagesResponse.Builder nextToken​(String nextToken)

        A token for getting the next set of images, if there are any.

        Parameters:
        nextToken - A token for getting the next set of images, if there are any.
        Returns:
        Returns a reference to this object so that method calls can be chained together.