Interface GetImagesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetImagesResponse.Builder,
,GetImagesResponse> KinesisVideoArchivedMediaResponse.Builder
,SdkBuilder<GetImagesResponse.Builder,
,GetImagesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetImagesResponse
-
Method Summary
Modifier and TypeMethodDescriptionimages
(Collection<Image> images) The list of images generated from the video stream.images
(Consumer<Image.Builder>... images) The list of images generated from the video stream.The list of images generated from the video stream.The encrypted token that was used in the request to get more images.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.kinesisvideoarchivedmedia.model.KinesisVideoArchivedMediaResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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, theMEDIA_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, theNO_MEDIA
error will be listed in the output. If an error occurs while the image is being generated, theMEDIA_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, theMEDIA_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, theNO_MEDIA
error will be listed in the output. If an error occurs while the image is being generated, theMEDIA_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
This is a convenience method that creates an instance of theNO_MEDIA
error will be listed in the output. If an error occurs while the image is being generated, theMEDIA_ERROR
will be listed in the output as the cause of the missing image.Image.Builder
avoiding the need to create one manually viaImage.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toimages(List<Image>)
.- Parameters:
images
- a consumer that will call methods onImage.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-