Interface CaptionSourceSettings.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<CaptionSourceSettings.Builder,CaptionSourceSettings>
,SdkBuilder<CaptionSourceSettings.Builder,CaptionSourceSettings>
,SdkPojo
- Enclosing class:
- CaptionSourceSettings
public static interface CaptionSourceSettings.Builder extends SdkPojo, CopyableBuilder<CaptionSourceSettings.Builder,CaptionSourceSettings>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CaptionSourceSettings.Builder
ancillarySourceSettings(Consumer<AncillarySourceSettings.Builder> ancillarySourceSettings)
Settings for ancillary captions source.CaptionSourceSettings.Builder
ancillarySourceSettings(AncillarySourceSettings ancillarySourceSettings)
Settings for ancillary captions source.default CaptionSourceSettings.Builder
dvbSubSourceSettings(Consumer<DvbSubSourceSettings.Builder> dvbSubSourceSettings)
DVB Sub Source Settings This is a convenience method that creates an instance of theDvbSubSourceSettings.Builder
avoiding the need to create one manually viaDvbSubSourceSettings.builder()
.CaptionSourceSettings.Builder
dvbSubSourceSettings(DvbSubSourceSettings dvbSubSourceSettings)
DVB Sub Source Settingsdefault CaptionSourceSettings.Builder
embeddedSourceSettings(Consumer<EmbeddedSourceSettings.Builder> embeddedSourceSettings)
Settings for embedded captions Source This is a convenience method that creates an instance of theEmbeddedSourceSettings.Builder
avoiding the need to create one manually viaEmbeddedSourceSettings.builder()
.CaptionSourceSettings.Builder
embeddedSourceSettings(EmbeddedSourceSettings embeddedSourceSettings)
Settings for embedded captions Sourcedefault CaptionSourceSettings.Builder
fileSourceSettings(Consumer<FileSourceSettings.Builder> fileSourceSettings)
If your input captions are SCC, SMI, SRT, STL, TTML, WebVTT, or IMSC 1.1 in an xml file, specify the URI of the input caption source file.CaptionSourceSettings.Builder
fileSourceSettings(FileSourceSettings fileSourceSettings)
If your input captions are SCC, SMI, SRT, STL, TTML, WebVTT, or IMSC 1.1 in an xml file, specify the URI of the input caption source file.CaptionSourceSettings.Builder
sourceType(String sourceType)
Use Source to identify the format of your input captions.CaptionSourceSettings.Builder
sourceType(CaptionSourceType sourceType)
Use Source to identify the format of your input captions.default CaptionSourceSettings.Builder
teletextSourceSettings(Consumer<TeletextSourceSettings.Builder> teletextSourceSettings)
Settings specific to Teletext caption sources, including Page number.CaptionSourceSettings.Builder
teletextSourceSettings(TeletextSourceSettings teletextSourceSettings)
Settings specific to Teletext caption sources, including Page number.default CaptionSourceSettings.Builder
trackSourceSettings(Consumer<TrackSourceSettings.Builder> trackSourceSettings)
Settings specific to caption sources that are specified by track number.CaptionSourceSettings.Builder
trackSourceSettings(TrackSourceSettings trackSourceSettings)
Settings specific to caption sources that are specified by track number.default CaptionSourceSettings.Builder
webvttHlsSourceSettings(Consumer<WebvttHlsSourceSettings.Builder> webvttHlsSourceSettings)
Settings specific to WebVTT sources in HLS alternative rendition group.CaptionSourceSettings.Builder
webvttHlsSourceSettings(WebvttHlsSourceSettings webvttHlsSourceSettings)
Settings specific to WebVTT sources in HLS alternative rendition group.-
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
-
ancillarySourceSettings
CaptionSourceSettings.Builder ancillarySourceSettings(AncillarySourceSettings ancillarySourceSettings)
Settings for ancillary captions source.- Parameters:
ancillarySourceSettings
- Settings for ancillary captions source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ancillarySourceSettings
default CaptionSourceSettings.Builder ancillarySourceSettings(Consumer<AncillarySourceSettings.Builder> ancillarySourceSettings)
Settings for ancillary captions source. This is a convenience method that creates an instance of theAncillarySourceSettings.Builder
avoiding the need to create one manually viaAncillarySourceSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toancillarySourceSettings(AncillarySourceSettings)
.- Parameters:
ancillarySourceSettings
- a consumer that will call methods onAncillarySourceSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ancillarySourceSettings(AncillarySourceSettings)
-
dvbSubSourceSettings
CaptionSourceSettings.Builder dvbSubSourceSettings(DvbSubSourceSettings dvbSubSourceSettings)
DVB Sub Source Settings- Parameters:
dvbSubSourceSettings
- DVB Sub Source Settings- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dvbSubSourceSettings
default CaptionSourceSettings.Builder dvbSubSourceSettings(Consumer<DvbSubSourceSettings.Builder> dvbSubSourceSettings)
DVB Sub Source Settings This is a convenience method that creates an instance of theDvbSubSourceSettings.Builder
avoiding the need to create one manually viaDvbSubSourceSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todvbSubSourceSettings(DvbSubSourceSettings)
.- Parameters:
dvbSubSourceSettings
- a consumer that will call methods onDvbSubSourceSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
dvbSubSourceSettings(DvbSubSourceSettings)
-
embeddedSourceSettings
CaptionSourceSettings.Builder embeddedSourceSettings(EmbeddedSourceSettings embeddedSourceSettings)
Settings for embedded captions Source- Parameters:
embeddedSourceSettings
- Settings for embedded captions Source- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
embeddedSourceSettings
default CaptionSourceSettings.Builder embeddedSourceSettings(Consumer<EmbeddedSourceSettings.Builder> embeddedSourceSettings)
Settings for embedded captions Source This is a convenience method that creates an instance of theEmbeddedSourceSettings.Builder
avoiding the need to create one manually viaEmbeddedSourceSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toembeddedSourceSettings(EmbeddedSourceSettings)
.- Parameters:
embeddedSourceSettings
- a consumer that will call methods onEmbeddedSourceSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
embeddedSourceSettings(EmbeddedSourceSettings)
-
fileSourceSettings
CaptionSourceSettings.Builder fileSourceSettings(FileSourceSettings fileSourceSettings)
If your input captions are SCC, SMI, SRT, STL, TTML, WebVTT, or IMSC 1.1 in an xml file, specify the URI of the input caption source file. If your caption source is IMSC in an IMF package, use TrackSourceSettings instead of FileSoureSettings.- Parameters:
fileSourceSettings
- If your input captions are SCC, SMI, SRT, STL, TTML, WebVTT, or IMSC 1.1 in an xml file, specify the URI of the input caption source file. If your caption source is IMSC in an IMF package, use TrackSourceSettings instead of FileSoureSettings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileSourceSettings
default CaptionSourceSettings.Builder fileSourceSettings(Consumer<FileSourceSettings.Builder> fileSourceSettings)
If your input captions are SCC, SMI, SRT, STL, TTML, WebVTT, or IMSC 1.1 in an xml file, specify the URI of the input caption source file. If your caption source is IMSC in an IMF package, use TrackSourceSettings instead of FileSoureSettings. This is a convenience method that creates an instance of theFileSourceSettings.Builder
avoiding the need to create one manually viaFileSourceSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofileSourceSettings(FileSourceSettings)
.- Parameters:
fileSourceSettings
- a consumer that will call methods onFileSourceSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
fileSourceSettings(FileSourceSettings)
-
sourceType
CaptionSourceSettings.Builder sourceType(String sourceType)
Use Source to identify the format of your input captions. The service cannot auto-detect caption format.- Parameters:
sourceType
- Use Source to identify the format of your input captions. The service cannot auto-detect caption format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CaptionSourceType
,CaptionSourceType
-
sourceType
CaptionSourceSettings.Builder sourceType(CaptionSourceType sourceType)
Use Source to identify the format of your input captions. The service cannot auto-detect caption format.- Parameters:
sourceType
- Use Source to identify the format of your input captions. The service cannot auto-detect caption format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CaptionSourceType
,CaptionSourceType
-
teletextSourceSettings
CaptionSourceSettings.Builder teletextSourceSettings(TeletextSourceSettings teletextSourceSettings)
Settings specific to Teletext caption sources, including Page number.- Parameters:
teletextSourceSettings
- Settings specific to Teletext caption sources, including Page number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
teletextSourceSettings
default CaptionSourceSettings.Builder teletextSourceSettings(Consumer<TeletextSourceSettings.Builder> teletextSourceSettings)
Settings specific to Teletext caption sources, including Page number. This is a convenience method that creates an instance of theTeletextSourceSettings.Builder
avoiding the need to create one manually viaTeletextSourceSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toteletextSourceSettings(TeletextSourceSettings)
.- Parameters:
teletextSourceSettings
- a consumer that will call methods onTeletextSourceSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
teletextSourceSettings(TeletextSourceSettings)
-
trackSourceSettings
CaptionSourceSettings.Builder trackSourceSettings(TrackSourceSettings trackSourceSettings)
Settings specific to caption sources that are specified by track number. Currently, this is only IMSC captions in an IMF package. If your caption source is IMSC 1.1 in a separate xml file, use FileSourceSettings instead of TrackSourceSettings.- Parameters:
trackSourceSettings
- Settings specific to caption sources that are specified by track number. Currently, this is only IMSC captions in an IMF package. If your caption source is IMSC 1.1 in a separate xml file, use FileSourceSettings instead of TrackSourceSettings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trackSourceSettings
default CaptionSourceSettings.Builder trackSourceSettings(Consumer<TrackSourceSettings.Builder> trackSourceSettings)
Settings specific to caption sources that are specified by track number. Currently, this is only IMSC captions in an IMF package. If your caption source is IMSC 1.1 in a separate xml file, use FileSourceSettings instead of TrackSourceSettings. This is a convenience method that creates an instance of theTrackSourceSettings.Builder
avoiding the need to create one manually viaTrackSourceSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totrackSourceSettings(TrackSourceSettings)
.- Parameters:
trackSourceSettings
- a consumer that will call methods onTrackSourceSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
trackSourceSettings(TrackSourceSettings)
-
webvttHlsSourceSettings
CaptionSourceSettings.Builder webvttHlsSourceSettings(WebvttHlsSourceSettings webvttHlsSourceSettings)
Settings specific to WebVTT sources in HLS alternative rendition group. Specify the properties (renditionGroupId, renditionName or renditionLanguageCode) to identify the unique subtitle track among the alternative rendition groups present in the HLS manifest. If no unique track is found, or multiple tracks match the specified properties, the job fails. If there is only one subtitle track in the rendition group, the settings can be left empty and the default subtitle track will be chosen. If your caption source is a sidecar file, use FileSourceSettings instead of WebvttHlsSourceSettings.- Parameters:
webvttHlsSourceSettings
- Settings specific to WebVTT sources in HLS alternative rendition group. Specify the properties (renditionGroupId, renditionName or renditionLanguageCode) to identify the unique subtitle track among the alternative rendition groups present in the HLS manifest. If no unique track is found, or multiple tracks match the specified properties, the job fails. If there is only one subtitle track in the rendition group, the settings can be left empty and the default subtitle track will be chosen. If your caption source is a sidecar file, use FileSourceSettings instead of WebvttHlsSourceSettings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
webvttHlsSourceSettings
default CaptionSourceSettings.Builder webvttHlsSourceSettings(Consumer<WebvttHlsSourceSettings.Builder> webvttHlsSourceSettings)
Settings specific to WebVTT sources in HLS alternative rendition group. Specify the properties (renditionGroupId, renditionName or renditionLanguageCode) to identify the unique subtitle track among the alternative rendition groups present in the HLS manifest. If no unique track is found, or multiple tracks match the specified properties, the job fails. If there is only one subtitle track in the rendition group, the settings can be left empty and the default subtitle track will be chosen. If your caption source is a sidecar file, use FileSourceSettings instead of WebvttHlsSourceSettings. This is a convenience method that creates an instance of theWebvttHlsSourceSettings.Builder
avoiding the need to create one manually viaWebvttHlsSourceSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed towebvttHlsSourceSettings(WebvttHlsSourceSettings)
.- Parameters:
webvttHlsSourceSettings
- a consumer that will call methods onWebvttHlsSourceSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
webvttHlsSourceSettings(WebvttHlsSourceSettings)
-
-