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
Modifier and TypeMethodDescriptiondefault HlsPackage.Builder
encryption
(Consumer<HlsEncryption.Builder> encryption) Sets the value of the Encryption property for this object.encryption
(HlsEncryption encryption) Sets the value of the Encryption property for this object.hlsManifests
(Collection<HlsManifest> hlsManifests) A list of HLS manifest configurations.hlsManifests
(Consumer<HlsManifest.Builder>... hlsManifests) A list of HLS manifest configurations.hlsManifests
(HlsManifest... hlsManifests) A list of HLS manifest configurations.includeDvbSubtitles
(Boolean includeDvbSubtitles) When enabled, MediaPackage passes through digital video broadcasting (DVB) subtitles into the output.segmentDurationSeconds
(Integer segmentDurationSeconds) Duration (in seconds) of each fragment.useAudioRenditionGroup
(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 Details
-
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
Sets the value of the Encryption property for this object. This is a convenience method that creates an instance of theHlsEncryption.Builder
avoiding the need to create one manually viaHlsEncryption.builder()
.When the
Consumer
completes,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:
-
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
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
A list of HLS manifest configurations. This is a convenience method that creates an instance of theHlsManifest.Builder
avoiding the need to create one manually viaHlsManifest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohlsManifests(List<HlsManifest>)
.- 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:
-
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
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
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.
-