@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Image extends Object implements Serializable, Cloneable, StructuredPojo
A structure that contains the Timestamp
, Error
, and ImageContent
.
Constructor and Description |
---|
Image() |
Modifier and Type | Method and Description |
---|---|
Image |
clone() |
boolean |
equals(Object obj) |
String |
getError()
The error message shown when the image for the provided timestamp was not extracted due to a non-tryable error.
|
String |
getImageContent()
An attribute of the
Image object that is Base64 encoded. |
Date |
getTimeStamp()
An attribute of the
Image object that is used to extract an image from the video stream. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setError(String error)
The error message shown when the image for the provided timestamp was not extracted due to a non-tryable error.
|
void |
setImageContent(String imageContent)
An attribute of the
Image object that is Base64 encoded. |
void |
setTimeStamp(Date timeStamp)
An attribute of the
Image object that is used to extract an image from the video stream. |
String |
toString()
Returns a string representation of this object.
|
Image |
withError(ImageError error)
The error message shown when the image for the provided timestamp was not extracted due to a non-tryable error.
|
Image |
withError(String error)
The error message shown when the image for the provided timestamp was not extracted due to a non-tryable error.
|
Image |
withImageContent(String imageContent)
An attribute of the
Image object that is Base64 encoded. |
Image |
withTimeStamp(Date timeStamp)
An attribute of the
Image object that is used to extract an image from the video stream. |
public void setTimeStamp(Date 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.
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.public Date getTimeStamp()
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.
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.public Image withTimeStamp(Date 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.
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.public void setError(String 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.
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.
ImageError
public String getError()
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.
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.
ImageError
public Image withError(String 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.
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.
ImageError
public Image withError(ImageError 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.
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.
ImageError
public void setImageContent(String imageContent)
An attribute of the Image
object that is Base64 encoded.
imageContent
- An attribute of the Image
object that is Base64 encoded.public String getImageContent()
An attribute of the Image
object that is Base64 encoded.
Image
object that is Base64 encoded.public Image withImageContent(String imageContent)
An attribute of the Image
object that is Base64 encoded.
imageContent
- An attribute of the Image
object that is Base64 encoded.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.