Interface InputCaptions.Builder
- All Superinterfaces:
 Buildable,CopyableBuilder<InputCaptions.Builder,,InputCaptions> SdkBuilder<InputCaptions.Builder,,InputCaptions> SdkPojo
- Enclosing class:
 InputCaptions
- 
Method Summary
Modifier and TypeMethodDescriptioncaptionSources(Collection<CaptionSource> captionSources) Source files for the input sidecar captions used during the transcoding process.captionSources(Consumer<CaptionSource.Builder>... captionSources) Source files for the input sidecar captions used during the transcoding process.captionSources(CaptionSource... captionSources) Source files for the input sidecar captions used during the transcoding process.mergePolicy(String mergePolicy) A policy that determines how Elastic Transcoder handles the existence of multiple captions.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields 
- 
Method Details
- 
mergePolicy
A policy that determines how Elastic Transcoder handles the existence of multiple captions.
- 
 
MergeOverride: Elastic Transcoder transcodes both embedded and sidecar captions into outputs. If captions for a language are embedded in the input file and also appear in a sidecar file, Elastic Transcoder uses the sidecar captions and ignores the embedded captions for that language.
 - 
 
MergeRetain: Elastic Transcoder transcodes both embedded and sidecar captions into outputs. If captions for a language are embedded in the input file and also appear in a sidecar file, Elastic Transcoder uses the embedded captions and ignores the sidecar captions for that language. If
CaptionSourcesis empty, Elastic Transcoder omits all sidecar captions from the output files. - 
 
Override: Elastic Transcoder transcodes only the sidecar captions that you specify in
CaptionSources. 
MergePolicycannot be null.- Parameters:
 mergePolicy- A policy that determines how Elastic Transcoder handles the existence of multiple captions.- 
        
MergeOverride: Elastic Transcoder transcodes both embedded and sidecar captions into outputs. If captions for a language are embedded in the input file and also appear in a sidecar file, Elastic Transcoder uses the sidecar captions and ignores the embedded captions for that language.
 - 
        
MergeRetain: Elastic Transcoder transcodes both embedded and sidecar captions into outputs. If captions for a language are embedded in the input file and also appear in a sidecar file, Elastic Transcoder uses the embedded captions and ignores the sidecar captions for that language. If
CaptionSourcesis empty, Elastic Transcoder omits all sidecar captions from the output files. - 
        
Override: Elastic Transcoder transcodes only the sidecar captions that you specify in
CaptionSources. 
MergePolicycannot be null.- 
        
 - Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
 
 - 
captionSources
Source files for the input sidecar captions used during the transcoding process. To omit all sidecar captions, leave
CaptionSourcesblank.- Parameters:
 captionSources- Source files for the input sidecar captions used during the transcoding process. To omit all sidecar captions, leaveCaptionSourcesblank.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
captionSources
Source files for the input sidecar captions used during the transcoding process. To omit all sidecar captions, leave
CaptionSourcesblank.- Parameters:
 captionSources- Source files for the input sidecar captions used during the transcoding process. To omit all sidecar captions, leaveCaptionSourcesblank.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
captionSources
Source files for the input sidecar captions used during the transcoding process. To omit all sidecar captions, leave
This is a convenience method that creates an instance of theCaptionSourcesblank.CaptionSource.Builderavoiding the need to create one manually viaCaptionSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocaptionSources(List<CaptionSource>).- Parameters:
 captionSources- a consumer that will call methods onCaptionSource.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -