public static final class CfnRecordingConfiguration.ThumbnailConfigurationProperty.Builder
extends java.lang.Object
CfnRecordingConfiguration.ThumbnailConfigurationProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnRecordingConfiguration.ThumbnailConfigurationProperty |
build()
Builds the configured instance.
|
CfnRecordingConfiguration.ThumbnailConfigurationProperty.Builder |
recordingMode(java.lang.String recordingMode)
|
CfnRecordingConfiguration.ThumbnailConfigurationProperty.Builder |
targetIntervalSeconds(java.lang.Number targetIntervalSeconds)
|
public CfnRecordingConfiguration.ThumbnailConfigurationProperty.Builder recordingMode(java.lang.String recordingMode)
recordingMode
- Thumbnail recording mode. Valid values:. This parameter is required.
DISABLED
: Use DISABLED to disable the generation of thumbnails for recorded video.INTERVAL
: Use INTERVAL to enable the generation of thumbnails for recorded video at a time interval controlled by the TargetIntervalSeconds property.
Default : INTERVAL
this
public CfnRecordingConfiguration.ThumbnailConfigurationProperty.Builder targetIntervalSeconds(java.lang.Number targetIntervalSeconds)
CfnRecordingConfiguration.ThumbnailConfigurationProperty.getTargetIntervalSeconds()
targetIntervalSeconds
- The targeted thumbnail-generation interval in seconds. This is configurable (and required) only if [RecordingMode](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ivs-recordingconfiguration-thumbnailconfiguration.html#cfn-ivs-recordingconfiguration-thumbnailconfiguration-recordingmode) is `INTERVAL` .
Setting a value for
TargetIntervalSeconds
does not guarantee that thumbnails are generated at the specified interval. For thumbnails to be generated at theTargetIntervalSeconds
interval, theIDR/Keyframe
value for the input video must be less than theTargetIntervalSeconds
value. See Amazon IVS Streaming Configuration for information on settingIDR/Keyframe
to the recommended value in video-encoder settings.
Default : 60
Valid Range : Minumum value of 5. Maximum value of 60.
this
public CfnRecordingConfiguration.ThumbnailConfigurationProperty build()
CfnRecordingConfiguration.ThumbnailConfigurationProperty
java.lang.NullPointerException
- if any required attribute was not provided