@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ThumbnailConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
An object representing a configuration of thumbnails for recorded video.
| Constructor and Description |
|---|
ThumbnailConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
ThumbnailConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getRecordingMode()
Thumbnail recording mode.
|
String |
getResolution()
Indicates the desired resolution of recorded thumbnails.
|
List<String> |
getStorage()
Indicates the format in which thumbnails are recorded.
|
Long |
getTargetIntervalSeconds()
The targeted thumbnail-generation interval in seconds.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setRecordingMode(String recordingMode)
Thumbnail recording mode.
|
void |
setResolution(String resolution)
Indicates the desired resolution of recorded thumbnails.
|
void |
setStorage(Collection<String> storage)
Indicates the format in which thumbnails are recorded.
|
void |
setTargetIntervalSeconds(Long targetIntervalSeconds)
The targeted thumbnail-generation interval in seconds.
|
String |
toString()
Returns a string representation of this object.
|
ThumbnailConfiguration |
withRecordingMode(RecordingMode recordingMode)
Thumbnail recording mode.
|
ThumbnailConfiguration |
withRecordingMode(String recordingMode)
Thumbnail recording mode.
|
ThumbnailConfiguration |
withResolution(String resolution)
Indicates the desired resolution of recorded thumbnails.
|
ThumbnailConfiguration |
withResolution(ThumbnailConfigurationResolution resolution)
Indicates the desired resolution of recorded thumbnails.
|
ThumbnailConfiguration |
withStorage(Collection<String> storage)
Indicates the format in which thumbnails are recorded.
|
ThumbnailConfiguration |
withStorage(String... storage)
Indicates the format in which thumbnails are recorded.
|
ThumbnailConfiguration |
withStorage(ThumbnailConfigurationStorage... storage)
Indicates the format in which thumbnails are recorded.
|
ThumbnailConfiguration |
withTargetIntervalSeconds(Long targetIntervalSeconds)
The targeted thumbnail-generation interval in seconds.
|
public void setRecordingMode(String recordingMode)
Thumbnail recording mode. Default: INTERVAL.
recordingMode - Thumbnail recording mode. Default: INTERVAL.RecordingModepublic String getRecordingMode()
Thumbnail recording mode. Default: INTERVAL.
INTERVAL.RecordingModepublic ThumbnailConfiguration withRecordingMode(String recordingMode)
Thumbnail recording mode. Default: INTERVAL.
recordingMode - Thumbnail recording mode. Default: INTERVAL.RecordingModepublic ThumbnailConfiguration withRecordingMode(RecordingMode recordingMode)
Thumbnail recording mode. Default: INTERVAL.
recordingMode - Thumbnail recording mode. Default: INTERVAL.RecordingModepublic void setTargetIntervalSeconds(Long targetIntervalSeconds)
The targeted thumbnail-generation interval in seconds. This is configurable (and required) only if
recordingMode is INTERVAL. Default: 60.
Important: For the BASIC channel type, setting a value for targetIntervalSeconds
does not guarantee that thumbnails are generated at the specified interval. For thumbnails to be generated at the
targetIntervalSeconds interval, the IDR/Keyframe value for the input video must be less
than the targetIntervalSeconds value. See Amazon IVS Streaming
Configuration for information on setting IDR/Keyframe to the recommended value in video-encoder
settings.
targetIntervalSeconds - The targeted thumbnail-generation interval in seconds. This is configurable (and required) only if
recordingMode is INTERVAL. Default: 60.
Important: For the BASIC channel type, setting a value for
targetIntervalSeconds does not guarantee that thumbnails are generated at the specified
interval. For thumbnails to be generated at the targetIntervalSeconds interval, the
IDR/Keyframe value for the input video must be less than the
targetIntervalSeconds value. See Amazon IVS Streaming
Configuration for information on setting IDR/Keyframe to the recommended value in
video-encoder settings.
public Long getTargetIntervalSeconds()
The targeted thumbnail-generation interval in seconds. This is configurable (and required) only if
recordingMode is INTERVAL. Default: 60.
Important: For the BASIC channel type, setting a value for targetIntervalSeconds
does not guarantee that thumbnails are generated at the specified interval. For thumbnails to be generated at the
targetIntervalSeconds interval, the IDR/Keyframe value for the input video must be less
than the targetIntervalSeconds value. See Amazon IVS Streaming
Configuration for information on setting IDR/Keyframe to the recommended value in video-encoder
settings.
recordingMode is INTERVAL. Default: 60.
Important: For the BASIC channel type, setting a value for
targetIntervalSeconds does not guarantee that thumbnails are generated at the specified
interval. For thumbnails to be generated at the targetIntervalSeconds interval, the
IDR/Keyframe value for the input video must be less than the
targetIntervalSeconds value. See Amazon IVS Streaming
Configuration for information on setting IDR/Keyframe to the recommended value in
video-encoder settings.
public ThumbnailConfiguration withTargetIntervalSeconds(Long targetIntervalSeconds)
The targeted thumbnail-generation interval in seconds. This is configurable (and required) only if
recordingMode is INTERVAL. Default: 60.
Important: For the BASIC channel type, setting a value for targetIntervalSeconds
does not guarantee that thumbnails are generated at the specified interval. For thumbnails to be generated at the
targetIntervalSeconds interval, the IDR/Keyframe value for the input video must be less
than the targetIntervalSeconds value. See Amazon IVS Streaming
Configuration for information on setting IDR/Keyframe to the recommended value in video-encoder
settings.
targetIntervalSeconds - The targeted thumbnail-generation interval in seconds. This is configurable (and required) only if
recordingMode is INTERVAL. Default: 60.
Important: For the BASIC channel type, setting a value for
targetIntervalSeconds does not guarantee that thumbnails are generated at the specified
interval. For thumbnails to be generated at the targetIntervalSeconds interval, the
IDR/Keyframe value for the input video must be less than the
targetIntervalSeconds value. See Amazon IVS Streaming
Configuration for information on setting IDR/Keyframe to the recommended value in
video-encoder settings.
public void setResolution(String resolution)
Indicates the desired resolution of recorded thumbnails. Thumbnails are recorded at the selected resolution if the corresponding rendition is available during the stream; otherwise, they are recorded at source resolution. For more information about resolution values and their corresponding height and width dimensions, see Auto-Record to Amazon S3. Default: Null (source resolution is returned).
resolution - Indicates the desired resolution of recorded thumbnails. Thumbnails are recorded at the selected
resolution if the corresponding rendition is available during the stream; otherwise, they are recorded at
source resolution. For more information about resolution values and their corresponding height and width
dimensions, see Auto-Record
to Amazon S3. Default: Null (source resolution is returned).ThumbnailConfigurationResolutionpublic String getResolution()
Indicates the desired resolution of recorded thumbnails. Thumbnails are recorded at the selected resolution if the corresponding rendition is available during the stream; otherwise, they are recorded at source resolution. For more information about resolution values and their corresponding height and width dimensions, see Auto-Record to Amazon S3. Default: Null (source resolution is returned).
ThumbnailConfigurationResolutionpublic ThumbnailConfiguration withResolution(String resolution)
Indicates the desired resolution of recorded thumbnails. Thumbnails are recorded at the selected resolution if the corresponding rendition is available during the stream; otherwise, they are recorded at source resolution. For more information about resolution values and their corresponding height and width dimensions, see Auto-Record to Amazon S3. Default: Null (source resolution is returned).
resolution - Indicates the desired resolution of recorded thumbnails. Thumbnails are recorded at the selected
resolution if the corresponding rendition is available during the stream; otherwise, they are recorded at
source resolution. For more information about resolution values and their corresponding height and width
dimensions, see Auto-Record
to Amazon S3. Default: Null (source resolution is returned).ThumbnailConfigurationResolutionpublic ThumbnailConfiguration withResolution(ThumbnailConfigurationResolution resolution)
Indicates the desired resolution of recorded thumbnails. Thumbnails are recorded at the selected resolution if the corresponding rendition is available during the stream; otherwise, they are recorded at source resolution. For more information about resolution values and their corresponding height and width dimensions, see Auto-Record to Amazon S3. Default: Null (source resolution is returned).
resolution - Indicates the desired resolution of recorded thumbnails. Thumbnails are recorded at the selected
resolution if the corresponding rendition is available during the stream; otherwise, they are recorded at
source resolution. For more information about resolution values and their corresponding height and width
dimensions, see Auto-Record
to Amazon S3. Default: Null (source resolution is returned).ThumbnailConfigurationResolutionpublic List<String> getStorage()
Indicates the format in which thumbnails are recorded. SEQUENTIAL records all generated thumbnails
in a serial manner, to the media/thumbnails directory. LATEST saves the latest thumbnail in
media/latest_thumbnail/thumb.jpg and overwrites it at the interval specified by
targetIntervalSeconds. You can enable both SEQUENTIAL and LATEST. Default:
SEQUENTIAL.
SEQUENTIAL records all generated
thumbnails in a serial manner, to the media/thumbnails directory. LATEST saves the latest
thumbnail in media/latest_thumbnail/thumb.jpg and overwrites it at the interval specified by
targetIntervalSeconds. You can enable both SEQUENTIAL and LATEST.
Default: SEQUENTIAL.ThumbnailConfigurationStoragepublic void setStorage(Collection<String> storage)
Indicates the format in which thumbnails are recorded. SEQUENTIAL records all generated thumbnails
in a serial manner, to the media/thumbnails directory. LATEST saves the latest thumbnail in
media/latest_thumbnail/thumb.jpg and overwrites it at the interval specified by
targetIntervalSeconds. You can enable both SEQUENTIAL and LATEST. Default:
SEQUENTIAL.
storage - Indicates the format in which thumbnails are recorded. SEQUENTIAL records all generated
thumbnails in a serial manner, to the media/thumbnails directory. LATEST saves the latest
thumbnail in media/latest_thumbnail/thumb.jpg and overwrites it at the interval specified by
targetIntervalSeconds. You can enable both SEQUENTIAL and LATEST.
Default: SEQUENTIAL.ThumbnailConfigurationStoragepublic ThumbnailConfiguration withStorage(String... storage)
Indicates the format in which thumbnails are recorded. SEQUENTIAL records all generated thumbnails
in a serial manner, to the media/thumbnails directory. LATEST saves the latest thumbnail in
media/latest_thumbnail/thumb.jpg and overwrites it at the interval specified by
targetIntervalSeconds. You can enable both SEQUENTIAL and LATEST. Default:
SEQUENTIAL.
NOTE: This method appends the values to the existing list (if any). Use
setStorage(java.util.Collection) or withStorage(java.util.Collection) if you want to override
the existing values.
storage - Indicates the format in which thumbnails are recorded. SEQUENTIAL records all generated
thumbnails in a serial manner, to the media/thumbnails directory. LATEST saves the latest
thumbnail in media/latest_thumbnail/thumb.jpg and overwrites it at the interval specified by
targetIntervalSeconds. You can enable both SEQUENTIAL and LATEST.
Default: SEQUENTIAL.ThumbnailConfigurationStoragepublic ThumbnailConfiguration withStorage(Collection<String> storage)
Indicates the format in which thumbnails are recorded. SEQUENTIAL records all generated thumbnails
in a serial manner, to the media/thumbnails directory. LATEST saves the latest thumbnail in
media/latest_thumbnail/thumb.jpg and overwrites it at the interval specified by
targetIntervalSeconds. You can enable both SEQUENTIAL and LATEST. Default:
SEQUENTIAL.
storage - Indicates the format in which thumbnails are recorded. SEQUENTIAL records all generated
thumbnails in a serial manner, to the media/thumbnails directory. LATEST saves the latest
thumbnail in media/latest_thumbnail/thumb.jpg and overwrites it at the interval specified by
targetIntervalSeconds. You can enable both SEQUENTIAL and LATEST.
Default: SEQUENTIAL.ThumbnailConfigurationStoragepublic ThumbnailConfiguration withStorage(ThumbnailConfigurationStorage... storage)
Indicates the format in which thumbnails are recorded. SEQUENTIAL records all generated thumbnails
in a serial manner, to the media/thumbnails directory. LATEST saves the latest thumbnail in
media/latest_thumbnail/thumb.jpg and overwrites it at the interval specified by
targetIntervalSeconds. You can enable both SEQUENTIAL and LATEST. Default:
SEQUENTIAL.
storage - Indicates the format in which thumbnails are recorded. SEQUENTIAL records all generated
thumbnails in a serial manner, to the media/thumbnails directory. LATEST saves the latest
thumbnail in media/latest_thumbnail/thumb.jpg and overwrites it at the interval specified by
targetIntervalSeconds. You can enable both SEQUENTIAL and LATEST.
Default: SEQUENTIAL.ThumbnailConfigurationStoragepublic String toString()
toString in class ObjectObject.toString()public ThumbnailConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.