Interface ThumbnailConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ThumbnailConfiguration.Builder,ThumbnailConfiguration>,SdkBuilder<ThumbnailConfiguration.Builder,ThumbnailConfiguration>,SdkPojo
- Enclosing class:
- ThumbnailConfiguration
public static interface ThumbnailConfiguration.Builder extends SdkPojo, CopyableBuilder<ThumbnailConfiguration.Builder,ThumbnailConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ThumbnailConfiguration.BuilderrecordingMode(String recordingMode)Thumbnail recording mode.ThumbnailConfiguration.BuilderrecordingMode(RecordingMode recordingMode)Thumbnail recording mode.ThumbnailConfiguration.Builderresolution(String resolution)Indicates the desired resolution of recorded thumbnails.ThumbnailConfiguration.Builderresolution(ThumbnailConfigurationResolution resolution)Indicates the desired resolution of recorded thumbnails.ThumbnailConfiguration.Builderstorage(Collection<ThumbnailConfigurationStorage> storage)Indicates the format in which thumbnails are recorded.ThumbnailConfiguration.Builderstorage(ThumbnailConfigurationStorage... storage)Indicates the format in which thumbnails are recorded.ThumbnailConfiguration.BuilderstorageWithStrings(String... storage)Indicates the format in which thumbnails are recorded.ThumbnailConfiguration.BuilderstorageWithStrings(Collection<String> storage)Indicates the format in which thumbnails are recorded.ThumbnailConfiguration.BuildertargetIntervalSeconds(Long targetIntervalSeconds)The targeted thumbnail-generation interval in seconds.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
recordingMode
ThumbnailConfiguration.Builder recordingMode(String recordingMode)
Thumbnail recording mode. Default:
INTERVAL.- Parameters:
recordingMode- Thumbnail recording mode. Default:INTERVAL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RecordingMode,RecordingMode
-
recordingMode
ThumbnailConfiguration.Builder recordingMode(RecordingMode recordingMode)
Thumbnail recording mode. Default:
INTERVAL.- Parameters:
recordingMode- Thumbnail recording mode. Default:INTERVAL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RecordingMode,RecordingMode
-
resolution
ThumbnailConfiguration.Builder resolution(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).
- Parameters:
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).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ThumbnailConfigurationResolution,ThumbnailConfigurationResolution
-
resolution
ThumbnailConfiguration.Builder resolution(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).
- Parameters:
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).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ThumbnailConfigurationResolution,ThumbnailConfigurationResolution
-
storageWithStrings
ThumbnailConfiguration.Builder storageWithStrings(Collection<String> storage)
Indicates the format in which thumbnails are recorded.
SEQUENTIALrecords all generated thumbnails in a serial manner, to the media/thumbnails directory.LATESTsaves the latest thumbnail in media/latest_thumbnail/thumb.jpg and overwrites it at the interval specified bytargetIntervalSeconds. You can enable bothSEQUENTIALandLATEST. Default:SEQUENTIAL.- Parameters:
storage- Indicates the format in which thumbnails are recorded.SEQUENTIALrecords all generated thumbnails in a serial manner, to the media/thumbnails directory.LATESTsaves the latest thumbnail in media/latest_thumbnail/thumb.jpg and overwrites it at the interval specified bytargetIntervalSeconds. You can enable bothSEQUENTIALandLATEST. Default:SEQUENTIAL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageWithStrings
ThumbnailConfiguration.Builder storageWithStrings(String... storage)
Indicates the format in which thumbnails are recorded.
SEQUENTIALrecords all generated thumbnails in a serial manner, to the media/thumbnails directory.LATESTsaves the latest thumbnail in media/latest_thumbnail/thumb.jpg and overwrites it at the interval specified bytargetIntervalSeconds. You can enable bothSEQUENTIALandLATEST. Default:SEQUENTIAL.- Parameters:
storage- Indicates the format in which thumbnails are recorded.SEQUENTIALrecords all generated thumbnails in a serial manner, to the media/thumbnails directory.LATESTsaves the latest thumbnail in media/latest_thumbnail/thumb.jpg and overwrites it at the interval specified bytargetIntervalSeconds. You can enable bothSEQUENTIALandLATEST. Default:SEQUENTIAL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storage
ThumbnailConfiguration.Builder storage(Collection<ThumbnailConfigurationStorage> storage)
Indicates the format in which thumbnails are recorded.
SEQUENTIALrecords all generated thumbnails in a serial manner, to the media/thumbnails directory.LATESTsaves the latest thumbnail in media/latest_thumbnail/thumb.jpg and overwrites it at the interval specified bytargetIntervalSeconds. You can enable bothSEQUENTIALandLATEST. Default:SEQUENTIAL.- Parameters:
storage- Indicates the format in which thumbnails are recorded.SEQUENTIALrecords all generated thumbnails in a serial manner, to the media/thumbnails directory.LATESTsaves the latest thumbnail in media/latest_thumbnail/thumb.jpg and overwrites it at the interval specified bytargetIntervalSeconds. You can enable bothSEQUENTIALandLATEST. Default:SEQUENTIAL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storage
ThumbnailConfiguration.Builder storage(ThumbnailConfigurationStorage... storage)
Indicates the format in which thumbnails are recorded.
SEQUENTIALrecords all generated thumbnails in a serial manner, to the media/thumbnails directory.LATESTsaves the latest thumbnail in media/latest_thumbnail/thumb.jpg and overwrites it at the interval specified bytargetIntervalSeconds. You can enable bothSEQUENTIALandLATEST. Default:SEQUENTIAL.- Parameters:
storage- Indicates the format in which thumbnails are recorded.SEQUENTIALrecords all generated thumbnails in a serial manner, to the media/thumbnails directory.LATESTsaves the latest thumbnail in media/latest_thumbnail/thumb.jpg and overwrites it at the interval specified bytargetIntervalSeconds. You can enable bothSEQUENTIALandLATEST. Default:SEQUENTIAL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetIntervalSeconds
ThumbnailConfiguration.Builder targetIntervalSeconds(Long targetIntervalSeconds)
The targeted thumbnail-generation interval in seconds. This is configurable (and required) only if
recordingModeisINTERVAL. Default: 60.Important: For the
BASICchannel type, setting a value fortargetIntervalSecondsdoes not guarantee that thumbnails are generated at the specified interval. For thumbnails to be generated at thetargetIntervalSecondsinterval, theIDR/Keyframevalue for the input video must be less than thetargetIntervalSecondsvalue. See Amazon IVS Streaming Configuration for information on settingIDR/Keyframeto the recommended value in video-encoder settings.- Parameters:
targetIntervalSeconds- The targeted thumbnail-generation interval in seconds. This is configurable (and required) only ifrecordingModeisINTERVAL. Default: 60.Important: For the
BASICchannel type, setting a value fortargetIntervalSecondsdoes not guarantee that thumbnails are generated at the specified interval. For thumbnails to be generated at thetargetIntervalSecondsinterval, theIDR/Keyframevalue for the input video must be less than thetargetIntervalSecondsvalue. See Amazon IVS Streaming Configuration for information on settingIDR/Keyframeto the recommended value in video-encoder settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-