@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)
Marshalls this structured data using the given
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
.RecordingMode
public String getRecordingMode()
Thumbnail recording mode. Default: INTERVAL
.
INTERVAL
.RecordingMode
public ThumbnailConfiguration withRecordingMode(String recordingMode)
Thumbnail recording mode. Default: INTERVAL
.
recordingMode
- Thumbnail recording mode. Default: INTERVAL
.RecordingMode
public ThumbnailConfiguration withRecordingMode(RecordingMode recordingMode)
Thumbnail recording mode. Default: INTERVAL
.
recordingMode
- Thumbnail recording mode. Default: INTERVAL
.RecordingMode
public 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 Object
Object.toString()
public ThumbnailConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.