Interface CaptionSelector.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CaptionSelector.Builder,CaptionSelector>,SdkBuilder<CaptionSelector.Builder,CaptionSelector>,SdkPojo
- Enclosing class:
- CaptionSelector
public static interface CaptionSelector.Builder extends SdkPojo, CopyableBuilder<CaptionSelector.Builder,CaptionSelector>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CaptionSelector.BuilderlanguageCode(String languageCode)When specified this field indicates the three letter language code of the caption track to extract from the source.CaptionSelector.Buildername(String name)Name identifier for a caption selector.default CaptionSelector.BuilderselectorSettings(Consumer<CaptionSelectorSettings.Builder> selectorSettings)Caption selector settings.CaptionSelector.BuilderselectorSettings(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, sdkFields
-
-
-
-
Method Detail
-
languageCode
CaptionSelector.Builder languageCode(String 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
CaptionSelector.Builder name(String 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
CaptionSelector.Builder selectorSettings(CaptionSelectorSettings 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.Builderavoiding the need to create one manually viaCaptionSelectorSettings.builder().When the
Consumercompletes,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:
selectorSettings(CaptionSelectorSettings)
-
-