Interface Captions.Builder
- All Superinterfaces:
 Buildable,CopyableBuilder<Captions.Builder,,Captions> SdkBuilder<Captions.Builder,,Captions> SdkPojo
- Enclosing class:
 Captions
- 
Method Summary
Modifier and TypeMethodDescriptioncaptionFormats(Collection<CaptionFormat> captionFormats) The array of file formats for the output captions.captionFormats(Consumer<CaptionFormat.Builder>... captionFormats) The array of file formats for the output captions.captionFormats(CaptionFormat... captionFormats) The array of file formats for the output captions.captionSources(Collection<CaptionSource> captionSources) Deprecated.captionSources(Consumer<CaptionSource.Builder>... captionSources) Deprecated.captionSources(CaptionSource... captionSources) Deprecated.mergePolicy(String mergePolicy) Deprecated.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
Deprecated.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
Deprecated.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
Deprecated.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
Deprecated.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:
 
 - 
captionFormats
The array of file formats for the output captions. If you leave this value blank, Elastic Transcoder returns an error.
- Parameters:
 captionFormats- The array of file formats for the output captions. If you leave this value blank, Elastic Transcoder returns an error.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
captionFormats
The array of file formats for the output captions. If you leave this value blank, Elastic Transcoder returns an error.
- Parameters:
 captionFormats- The array of file formats for the output captions. If you leave this value blank, Elastic Transcoder returns an error.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
captionFormats
The array of file formats for the output captions. If you leave this value blank, Elastic Transcoder returns an error.
This is a convenience method that creates an instance of theCaptionFormat.Builderavoiding the need to create one manually viaCaptionFormat.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocaptionFormats(List<CaptionFormat>).- Parameters:
 captionFormats- a consumer that will call methods onCaptionFormat.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -