@Generated(value="software.amazon.awssdk:codegen") public final class Image extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Image.Builder,Image>
A structure that contains the Timestamp, Error, and ImageContent.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Image.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Image.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
ImageError |
error()
The error message shown when the image for the provided timestamp was not extracted due to a non-tryable error.
|
String |
errorAsString()
The error message shown when the image for the provided timestamp was not extracted due to a non-tryable error.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
imageContent()
An attribute of the
Image object that is Base64 encoded. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends Image.Builder> |
serializableBuilderClass() |
Instant |
timeStamp()
An attribute of the
Image object that is used to extract an image from the video stream. |
Image.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Instant 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.
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 final 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.
If the service returns an enum value that is not available in the current SDK version, error will return
ImageError.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
errorAsString().
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.
ImageErrorpublic final String errorAsString()
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.
If the service returns an enum value that is not available in the current SDK version, error will return
ImageError.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
errorAsString().
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.
ImageErrorpublic final String imageContent()
An attribute of the Image object that is Base64 encoded.
Image object that is Base64 encoded.public Image.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Image.Builder,Image>public static Image.Builder builder()
public static Class<? extends Image.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.