@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.
|
Long |
getTargetIntervalSeconds()
The targeted thumbnail-generation interval in seconds.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setRecordingMode(String recordingMode)
Thumbnail recording mode.
|
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 |
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: 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: 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: 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: 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: 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: 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 String toString()
toString in class ObjectObject.toString()public ThumbnailConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.