Interface CaptionSelector.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CaptionSelector.Builder,
,CaptionSelector> SdkBuilder<CaptionSelector.Builder,
,CaptionSelector> SdkPojo
- Enclosing class:
CaptionSelector
@Mutable
@NotThreadSafe
public static interface CaptionSelector.Builder
extends SdkPojo, CopyableBuilder<CaptionSelector.Builder,CaptionSelector>
-
Method Summary
Modifier and TypeMethodDescriptionlanguageCode
(String languageCode) When specified this field indicates the three letter language code of the caption track to extract from the source.Name identifier for a caption selector.default CaptionSelector.Builder
selectorSettings
(Consumer<CaptionSelectorSettings.Builder> selectorSettings) Caption selector settings.selectorSettings
(CaptionSelectorSettings selectorSettings) Caption selector settings.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, sdkFieldNameToField, sdkFields
-
Method Details
-
languageCode
When specified this field indicates the three letter language code of the caption track to extract from the source.- Parameters:
languageCode
- When specified this field indicates the three letter language code of the caption track to extract from the source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
Name identifier for a caption selector. This name is used to associate this caption selector with one or more caption descriptions. Names must be unique within an event.- Parameters:
name
- Name identifier for a caption selector. This name is used to associate this caption selector with one or more caption descriptions. Names must be unique within an event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selectorSettings
Caption selector settings.- Parameters:
selectorSettings
- Caption selector settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selectorSettings
default CaptionSelector.Builder selectorSettings(Consumer<CaptionSelectorSettings.Builder> selectorSettings) Caption selector settings. This is a convenience method that creates an instance of theCaptionSelectorSettings.Builder
avoiding the need to create one manually viaCaptionSelectorSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toselectorSettings(CaptionSelectorSettings)
.- Parameters:
selectorSettings
- a consumer that will call methods onCaptionSelectorSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-