@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
.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: 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).ThumbnailConfigurationResolution
public 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).
ThumbnailConfigurationResolution
public 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).ThumbnailConfigurationResolution
public 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).ThumbnailConfigurationResolution
public 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
.ThumbnailConfigurationStorage
public 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
.ThumbnailConfigurationStorage
public 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
.ThumbnailConfigurationStorage
public 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
.ThumbnailConfigurationStorage
public 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
.ThumbnailConfigurationStorage
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.