Interface GetImagesResponse.Builder

  • Method Details

    • images

      The list of images generated from the video stream. If there is no media available for the given timestamp, the NO_MEDIA error will be listed in the output. If an error occurs while the image is being generated, the MEDIA_ERROR will be listed in the output as the cause of the missing image.

      Parameters:
      images - The list of images generated from the video stream. If there is no media available for the given timestamp, the NO_MEDIA error will be listed in the output. If an error occurs while the image is being generated, the MEDIA_ERROR will be listed in the output as the cause of the missing image.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • images

      GetImagesResponse.Builder images(Image... images)

      The list of images generated from the video stream. If there is no media available for the given timestamp, the NO_MEDIA error will be listed in the output. If an error occurs while the image is being generated, the MEDIA_ERROR will be listed in the output as the cause of the missing image.

      Parameters:
      images - The list of images generated from the video stream. If there is no media available for the given timestamp, the NO_MEDIA error will be listed in the output. If an error occurs while the image is being generated, the MEDIA_ERROR will be listed in the output as the cause of the missing image.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • images

      The list of images generated from the video stream. If there is no media available for the given timestamp, the NO_MEDIA error will be listed in the output. If an error occurs while the image is being generated, the MEDIA_ERROR will be listed in the output as the cause of the missing image.

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

      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:
    • nextToken

      GetImagesResponse.Builder nextToken(String nextToken)

      The encrypted token that was used in the request to get more images.

      Parameters:
      nextToken - The encrypted token that was used in the request to get more images.
      Returns:
      Returns a reference to this object so that method calls can be chained together.