Interface CaptionSelector.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CaptionSelector.Builder,
,CaptionSelector> SdkBuilder<CaptionSelector.Builder,
,CaptionSelector> SdkPojo
- Enclosing class:
CaptionSelector
public static interface CaptionSelector.Builder
extends SdkPojo, CopyableBuilder<CaptionSelector.Builder,CaptionSelector>
-
Method Summary
Modifier and TypeMethodDescriptioncustomLanguageCode
(String customLanguageCode) The specific language to extract from source, using the ISO 639-2 or ISO 639-3 three-letter language code.languageCode
(String languageCode) The specific language to extract from source.languageCode
(LanguageCode languageCode) The specific language to extract from source.default CaptionSelector.Builder
sourceSettings
(Consumer<CaptionSourceSettings.Builder> sourceSettings) If your input captions are SCC, TTML, STL, SMI, SRT, or IMSC in an xml file, specify the URI of the input captions source file.sourceSettings
(CaptionSourceSettings sourceSettings) If your input captions are SCC, TTML, STL, SMI, SRT, or IMSC in an xml file, specify the URI of the input captions source file.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 Details
-
customLanguageCode
The specific language to extract from source, using the ISO 639-2 or ISO 639-3 three-letter language code. If input is SCTE-27, complete this field and/or PID to select the caption language to extract. If input is DVB-Sub and output is Burn-in, complete this field and/or PID to select the caption language to extract. If input is DVB-Sub that is being passed through, omit this field (and PID field); there is no way to extract a specific language with pass-through captions.- Parameters:
customLanguageCode
- The specific language to extract from source, using the ISO 639-2 or ISO 639-3 three-letter language code. If input is SCTE-27, complete this field and/or PID to select the caption language to extract. If input is DVB-Sub and output is Burn-in, complete this field and/or PID to select the caption language to extract. If input is DVB-Sub that is being passed through, omit this field (and PID field); there is no way to extract a specific language with pass-through captions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
languageCode
The specific language to extract from source. If input is SCTE-27, complete this field and/or PID to select the caption language to extract. If input is DVB-Sub and output is Burn-in, complete this field and/or PID to select the caption language to extract. If input is DVB-Sub that is being passed through, omit this field (and PID field); there is no way to extract a specific language with pass-through captions.- Parameters:
languageCode
- The specific language to extract from source. If input is SCTE-27, complete this field and/or PID to select the caption language to extract. If input is DVB-Sub and output is Burn-in, complete this field and/or PID to select the caption language to extract. If input is DVB-Sub that is being passed through, omit this field (and PID field); there is no way to extract a specific language with pass-through captions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
languageCode
The specific language to extract from source. If input is SCTE-27, complete this field and/or PID to select the caption language to extract. If input is DVB-Sub and output is Burn-in, complete this field and/or PID to select the caption language to extract. If input is DVB-Sub that is being passed through, omit this field (and PID field); there is no way to extract a specific language with pass-through captions.- Parameters:
languageCode
- The specific language to extract from source. If input is SCTE-27, complete this field and/or PID to select the caption language to extract. If input is DVB-Sub and output is Burn-in, complete this field and/or PID to select the caption language to extract. If input is DVB-Sub that is being passed through, omit this field (and PID field); there is no way to extract a specific language with pass-through captions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceSettings
If your input captions are SCC, TTML, STL, SMI, SRT, or IMSC in an xml file, specify the URI of the input captions source file. If your input captions are IMSC in an IMF package, use TrackSourceSettings instead of FileSoureSettings.- Parameters:
sourceSettings
- If your input captions are SCC, TTML, STL, SMI, SRT, or IMSC in an xml file, specify the URI of the input captions source file. If your input captions are 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.
-
sourceSettings
default CaptionSelector.Builder sourceSettings(Consumer<CaptionSourceSettings.Builder> sourceSettings) If your input captions are SCC, TTML, STL, SMI, SRT, or IMSC in an xml file, specify the URI of the input captions source file. If your input captions are IMSC in an IMF package, use TrackSourceSettings instead of FileSoureSettings. This is a convenience method that creates an instance of theCaptionSourceSettings.Builder
avoiding the need to create one manually viaCaptionSourceSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosourceSettings(CaptionSourceSettings)
.- Parameters:
sourceSettings
- a consumer that will call methods onCaptionSourceSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-