Interface InputCaptions.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<InputCaptions.Builder,InputCaptions>,SdkBuilder<InputCaptions.Builder,InputCaptions>,SdkPojo
- Enclosing class:
- InputCaptions
public static interface InputCaptions.Builder extends SdkPojo, CopyableBuilder<InputCaptions.Builder,InputCaptions>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InputCaptions.BuildercaptionSources(Collection<CaptionSource> captionSources)Source files for the input sidecar captions used during the transcoding process.InputCaptions.BuildercaptionSources(Consumer<CaptionSource.Builder>... captionSources)Source files for the input sidecar captions used during the transcoding process.InputCaptions.BuildercaptionSources(CaptionSource... captionSources)Source files for the input sidecar captions used during the transcoding process.InputCaptions.BuildermergePolicy(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
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
-
mergePolicy
InputCaptions.Builder mergePolicy(String 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
InputCaptions.Builder captionSources(Collection<CaptionSource> 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
InputCaptions.Builder captionSources(CaptionSource... 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
InputCaptions.Builder captionSources(Consumer<CaptionSource.Builder>... 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 to#captionSources(List.) - 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:
#captionSources(java.util.Collection)
-
-