Interface Captions.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Captions.Builder,Captions>,SdkBuilder<Captions.Builder,Captions>,SdkPojo
- Enclosing class:
- Captions
public static interface Captions.Builder extends SdkPojo, CopyableBuilder<Captions.Builder,Captions>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Captions.BuildercaptionFormats(Collection<CaptionFormat> captionFormats)The array of file formats for the output captions.Captions.BuildercaptionFormats(Consumer<CaptionFormat.Builder>... captionFormats)The array of file formats for the output captions.Captions.BuildercaptionFormats(CaptionFormat... captionFormats)The array of file formats for the output captions.Captions.BuildercaptionSources(Collection<CaptionSource> captionSources)Deprecated.Captions.BuildercaptionSources(Consumer<CaptionSource.Builder>... captionSources)Deprecated.Captions.BuildercaptionSources(CaptionSource... captionSources)Deprecated.Captions.BuildermergePolicy(String mergePolicy)Deprecated.-
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
@Deprecated Captions.Builder mergePolicy(String 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 Captions.Builder captionSources(Collection<CaptionSource> 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 Captions.Builder captionSources(CaptionSource... 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 Captions.Builder captionSources(Consumer<CaptionSource.Builder>... 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 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)
-
captionFormats
Captions.Builder captionFormats(Collection<CaptionFormat> 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
Captions.Builder captionFormats(CaptionFormat... 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
Captions.Builder captionFormats(Consumer<CaptionFormat.Builder>... 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 to#captionFormats(List.) - 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:
#captionFormats(java.util.Collection)
-
-