Interface HlsPackage.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<HlsPackage.Builder,HlsPackage>,SdkBuilder<HlsPackage.Builder,HlsPackage>,SdkPojo
- Enclosing class:
- HlsPackage
public static interface HlsPackage.Builder extends SdkPojo, CopyableBuilder<HlsPackage.Builder,HlsPackage>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default HlsPackage.Builderencryption(Consumer<HlsEncryption.Builder> encryption)Sets the value of the Encryption property for this object.HlsPackage.Builderencryption(HlsEncryption encryption)Sets the value of the Encryption property for this object.HlsPackage.BuilderhlsManifests(Collection<HlsManifest> hlsManifests)A list of HLS manifest configurations.HlsPackage.BuilderhlsManifests(Consumer<HlsManifest.Builder>... hlsManifests)A list of HLS manifest configurations.HlsPackage.BuilderhlsManifests(HlsManifest... hlsManifests)A list of HLS manifest configurations.HlsPackage.BuilderincludeDvbSubtitles(Boolean includeDvbSubtitles)When enabled, MediaPackage passes through digital video broadcasting (DVB) subtitles into the output.HlsPackage.BuildersegmentDurationSeconds(Integer segmentDurationSeconds)Duration (in seconds) of each fragment.HlsPackage.BuilderuseAudioRenditionGroup(Boolean useAudioRenditionGroup)When enabled, audio streams will be placed in rendition groups in the output.-
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
-
encryption
HlsPackage.Builder encryption(HlsEncryption encryption)
Sets the value of the Encryption property for this object.- Parameters:
encryption- The new value for the Encryption property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryption
default HlsPackage.Builder encryption(Consumer<HlsEncryption.Builder> encryption)
Sets the value of the Encryption property for this object. This is a convenience method that creates an instance of theHlsEncryption.Builderavoiding the need to create one manually viaHlsEncryption.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toencryption(HlsEncryption).- Parameters:
encryption- a consumer that will call methods onHlsEncryption.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
encryption(HlsEncryption)
-
hlsManifests
HlsPackage.Builder hlsManifests(Collection<HlsManifest> hlsManifests)
A list of HLS manifest configurations.- Parameters:
hlsManifests- A list of HLS manifest configurations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hlsManifests
HlsPackage.Builder hlsManifests(HlsManifest... hlsManifests)
A list of HLS manifest configurations.- Parameters:
hlsManifests- A list of HLS manifest configurations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hlsManifests
HlsPackage.Builder hlsManifests(Consumer<HlsManifest.Builder>... hlsManifests)
A list of HLS manifest configurations. This is a convenience method that creates an instance of theHlsManifest.Builderavoiding the need to create one manually viaHlsManifest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#hlsManifests(List.) - Parameters:
hlsManifests- a consumer that will call methods onHlsManifest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#hlsManifests(java.util.Collection)
-
includeDvbSubtitles
HlsPackage.Builder includeDvbSubtitles(Boolean includeDvbSubtitles)
When enabled, MediaPackage passes through digital video broadcasting (DVB) subtitles into the output.- Parameters:
includeDvbSubtitles- When enabled, MediaPackage passes through digital video broadcasting (DVB) subtitles into the output.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
segmentDurationSeconds
HlsPackage.Builder segmentDurationSeconds(Integer segmentDurationSeconds)
Duration (in seconds) of each fragment. Actual fragments will be rounded to the nearest multiple of the source fragment duration.- Parameters:
segmentDurationSeconds- Duration (in seconds) of each fragment. Actual fragments will be rounded to the nearest multiple of the source fragment duration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
useAudioRenditionGroup
HlsPackage.Builder useAudioRenditionGroup(Boolean useAudioRenditionGroup)
When enabled, audio streams will be placed in rendition groups in the output.- Parameters:
useAudioRenditionGroup- When enabled, audio streams will be placed in rendition groups in the output.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-