Interface BatchGetImageResponse.Builder

    • Method Detail

      • images

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

        A list of image objects corresponding to the image references in the request.

        Parameters:
        images - A list of image objects corresponding to the image references in the request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • images

        BatchGetImageResponse.Builder images​(Image... images)

        A list of image objects corresponding to the image references in the request.

        Parameters:
        images - A list of image objects corresponding to the image references in the request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • images

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

        A list of image objects corresponding to the image references in the request.

        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)
      • failures

        BatchGetImageResponse.Builder failures​(Collection<ImageFailure> failures)

        Any failures associated with the call.

        Parameters:
        failures - Any failures associated with the call.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • failures

        BatchGetImageResponse.Builder failures​(ImageFailure... failures)

        Any failures associated with the call.

        Parameters:
        failures - Any failures associated with the call.
        Returns:
        Returns a reference to this object so that method calls can be chained together.