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
copyMethods inherited from interface software.amazon.awssdk.services.kinesisvideoarchivedmedia.model.KinesisVideoArchivedMediaResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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_MEDIAerror will be listed in the output. If an error occurs while the image is being generated, theMEDIA_ERRORwill 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_MEDIAerror will be listed in the output. If an error occurs while the image is being generated, theMEDIA_ERRORwill 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_MEDIAerror will be listed in the output. If an error occurs while the image is being generated, theMEDIA_ERRORwill 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_MEDIAerror will be listed in the output. If an error occurs while the image is being generated, theMEDIA_ERRORwill 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_MEDIAerror will be listed in the output. If an error occurs while the image is being generated, theMEDIA_ERRORwill be listed in the output as the cause of the missing image.Image.Builderavoiding the need to create one manually viaImage.builder().When the
Consumercompletes,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.
-