Interface Segment.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Segment.Builder,
,Segment> SdkBuilder<Segment.Builder,
,Segment> SdkPojo
- Enclosing class:
Segment
-
Method Summary
Modifier and TypeMethodDescriptiondefault Segment.Builder
encryption
(Consumer<Encryption.Builder> encryption) Sets the value of the Encryption property for this object.encryption
(Encryption encryption) Sets the value of the Encryption property for this object.includeIframeOnlyStreams
(Boolean includeIframeOnlyStreams) When selected, the stream set includes an additional I-frame only stream, along with the other tracks.default Segment.Builder
scte
(Consumer<Scte.Builder> scte) The SCTE configuration options in the segment settings.The SCTE configuration options in the segment settings.segmentDurationSeconds
(Integer segmentDurationSeconds) The duration (in seconds) of each segment.segmentName
(String segmentName) The name that describes the segment.tsIncludeDvbSubtitles
(Boolean tsIncludeDvbSubtitles) By default, MediaPackage excludes all digital video broadcasting (DVB) subtitles from the output.tsUseAudioRenditionGroup
(Boolean tsUseAudioRenditionGroup) When selected, MediaPackage bundles all audio tracks in a rendition group.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
-
segmentDurationSeconds
The duration (in seconds) of each segment. Enter a value equal to, or a multiple of, the input segment duration. If the value that you enter is different from the input segment duration, MediaPackage rounds segments to the nearest multiple of the input segment duration.
- Parameters:
segmentDurationSeconds
- The duration (in seconds) of each segment. Enter a value equal to, or a multiple of, the input segment duration. If the value that you enter is different from the input segment duration, MediaPackage rounds segments to the nearest multiple of the input segment duration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
segmentName
The name that describes the segment. The name is the base name of the segment used in all content manifests inside of the endpoint. You can't use spaces in the name.
- Parameters:
segmentName
- The name that describes the segment. The name is the base name of the segment used in all content manifests inside of the endpoint. You can't use spaces in the name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tsUseAudioRenditionGroup
When selected, MediaPackage bundles all audio tracks in a rendition group. All other tracks in the stream can be used with any audio rendition from the group.
- Parameters:
tsUseAudioRenditionGroup
- When selected, MediaPackage bundles all audio tracks in a rendition group. All other tracks in the stream can be used with any audio rendition from the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includeIframeOnlyStreams
When selected, the stream set includes an additional I-frame only stream, along with the other tracks. If false, this extra stream is not included. MediaPackage generates an I-frame only stream from the first rendition in the manifest. The service inserts EXT-I-FRAMES-ONLY tags in the output manifest, and then generates and includes an I-frames only playlist in the stream. This playlist permits player functionality like fast forward and rewind.
- Parameters:
includeIframeOnlyStreams
- When selected, the stream set includes an additional I-frame only stream, along with the other tracks. If false, this extra stream is not included. MediaPackage generates an I-frame only stream from the first rendition in the manifest. The service inserts EXT-I-FRAMES-ONLY tags in the output manifest, and then generates and includes an I-frames only playlist in the stream. This playlist permits player functionality like fast forward and rewind.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tsIncludeDvbSubtitles
By default, MediaPackage excludes all digital video broadcasting (DVB) subtitles from the output. When selected, MediaPackage passes through DVB subtitles into the output.
- Parameters:
tsIncludeDvbSubtitles
- By default, MediaPackage excludes all digital video broadcasting (DVB) subtitles from the output. When selected, MediaPackage passes through DVB subtitles into the output.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scte
The SCTE configuration options in the segment settings.
- Parameters:
scte
- The SCTE configuration options in the segment settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scte
The SCTE configuration options in the segment settings.
This is a convenience method that creates an instance of theScte.Builder
avoiding the need to create one manually viaScte.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toscte(Scte)
.- Parameters:
scte
- a consumer that will call methods onScte.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 theEncryption.Builder
avoiding the need to create one manually viaEncryption.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toencryption(Encryption)
.- Parameters:
encryption
- a consumer that will call methods onEncryption.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-