/* * Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ package com.amazonaws.services.kinesisvideoarchivedmedia.model; import java.io.Serializable; /** *
* A structure that contains the Timestamp
, Error
, and
* ImageContent
.
*
* An attribute of the Image
object that is used to extract an
* image from the video stream. This field is used to manage gaps on images
* or to better understand the pagination window.
*
* The error message shown when the image for the provided timestamp was not * extracted due to a non-tryable error. An error will be returned if: *
*
* There is no media that exists for the specified Timestamp
.
*
* The media for the specified time does not allow an image to be extracted. * In this case the media is audio only, or the incorrect media has been * ingested. *
*
* Constraints:
* Allowed Values: NO_MEDIA, MEDIA_ERROR
*/
private String error;
/**
*
* An attribute of the Image
object that is Base64 encoded.
*
* Constraints:
* Length: 1 - 6291456
*/
private String imageContent;
/**
*
* An attribute of the Image
object that is used to extract an
* image from the video stream. This field is used to manage gaps on images
* or to better understand the pagination window.
*
* An attribute of the Image
object that is used to
* extract an image from the video stream. This field is used to
* manage gaps on images or to better understand the pagination
* window.
*
* An attribute of the Image
object that is used to extract an
* image from the video stream. This field is used to manage gaps on images
* or to better understand the pagination window.
*
* An attribute of the Image
object that is used to
* extract an image from the video stream. This field is used to
* manage gaps on images or to better understand the pagination
* window.
*
* An attribute of the Image
object that is used to extract an
* image from the video stream. This field is used to manage gaps on images
* or to better understand the pagination window.
*
* Returns a reference to this object so that method calls can be chained * together. * * @param timeStamp
* An attribute of the Image
object that is used to
* extract an image from the video stream. This field is used to
* manage gaps on images or to better understand the pagination
* window.
*
* The error message shown when the image for the provided timestamp was not * extracted due to a non-tryable error. An error will be returned if: *
*
* There is no media that exists for the specified Timestamp
.
*
* The media for the specified time does not allow an image to be extracted. * In this case the media is audio only, or the incorrect media has been * ingested. *
*
* Constraints:
* Allowed Values: NO_MEDIA, MEDIA_ERROR
*
* @return
* The error message shown when the image for the provided timestamp * was not extracted due to a non-tryable error. An error will be * returned if: *
*
* There is no media that exists for the specified
* Timestamp
.
*
* The media for the specified time does not allow an image to be * extracted. In this case the media is audio only, or the incorrect * media has been ingested. *
** The error message shown when the image for the provided timestamp was not * extracted due to a non-tryable error. An error will be returned if: *
*
* There is no media that exists for the specified Timestamp
.
*
* The media for the specified time does not allow an image to be extracted. * In this case the media is audio only, or the incorrect media has been * ingested. *
*
* Constraints:
* Allowed Values: NO_MEDIA, MEDIA_ERROR
*
* @param error
* The error message shown when the image for the provided * timestamp was not extracted due to a non-tryable error. An * error will be returned if: *
*
* There is no media that exists for the specified
* Timestamp
.
*
* The media for the specified time does not allow an image to be * extracted. In this case the media is audio only, or the * incorrect media has been ingested. *
** The error message shown when the image for the provided timestamp was not * extracted due to a non-tryable error. An error will be returned if: *
*
* There is no media that exists for the specified Timestamp
.
*
* The media for the specified time does not allow an image to be extracted. * In this case the media is audio only, or the incorrect media has been * ingested. *
** Returns a reference to this object so that method calls can be chained * together. *
* Constraints:
* Allowed Values: NO_MEDIA, MEDIA_ERROR
*
* @param error
* The error message shown when the image for the provided * timestamp was not extracted due to a non-tryable error. An * error will be returned if: *
*
* There is no media that exists for the specified
* Timestamp
.
*
* The media for the specified time does not allow an image to be * extracted. In this case the media is audio only, or the * incorrect media has been ingested. *
** The error message shown when the image for the provided timestamp was not * extracted due to a non-tryable error. An error will be returned if: *
*
* There is no media that exists for the specified Timestamp
.
*
* The media for the specified time does not allow an image to be extracted. * In this case the media is audio only, or the incorrect media has been * ingested. *
*
* Constraints:
* Allowed Values: NO_MEDIA, MEDIA_ERROR
*
* @param error
* The error message shown when the image for the provided * timestamp was not extracted due to a non-tryable error. An * error will be returned if: *
*
* There is no media that exists for the specified
* Timestamp
.
*
* The media for the specified time does not allow an image to be * extracted. In this case the media is audio only, or the * incorrect media has been ingested. *
** The error message shown when the image for the provided timestamp was not * extracted due to a non-tryable error. An error will be returned if: *
*
* There is no media that exists for the specified Timestamp
.
*
* The media for the specified time does not allow an image to be extracted. * In this case the media is audio only, or the incorrect media has been * ingested. *
** Returns a reference to this object so that method calls can be chained * together. *
* Constraints:
* Allowed Values: NO_MEDIA, MEDIA_ERROR
*
* @param error
* The error message shown when the image for the provided * timestamp was not extracted due to a non-tryable error. An * error will be returned if: *
*
* There is no media that exists for the specified
* Timestamp
.
*
* The media for the specified time does not allow an image to be * extracted. In this case the media is audio only, or the * incorrect media has been ingested. *
*
* An attribute of the Image
object that is Base64 encoded.
*
* Constraints:
* Length: 1 - 6291456
*
* @return
* An attribute of the Image
object that is Base64
* encoded.
*
* An attribute of the Image
object that is Base64 encoded.
*
* Constraints:
* Length: 1 - 6291456
*
* @param imageContent
* An attribute of the Image
object that is Base64
* encoded.
*
* An attribute of the Image
object that is Base64 encoded.
*
* Returns a reference to this object so that method calls can be chained * together. *
* Constraints:
* Length: 1 - 6291456
*
* @param imageContent
* An attribute of the Image
object that is Base64
* encoded.
*