Interface DashPackage.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DashPackage.Builder,
,DashPackage> SdkBuilder<DashPackage.Builder,
,DashPackage> SdkPojo
- Enclosing class:
DashPackage
public static interface DashPackage.Builder
extends SdkPojo, CopyableBuilder<DashPackage.Builder,DashPackage>
-
Method Summary
Modifier and TypeMethodDescriptiondashManifests
(Collection<DashManifest> dashManifests) A list of DASH manifest configurations.dashManifests
(Consumer<DashManifest.Builder>... dashManifests) A list of DASH manifest configurations.dashManifests
(DashManifest... dashManifests) A list of DASH manifest configurations.default DashPackage.Builder
encryption
(Consumer<DashEncryption.Builder> encryption) Sets the value of the Encryption property for this object.encryption
(DashEncryption encryption) Sets the value of the Encryption property for this object.includeEncoderConfigurationInSegments
(Boolean includeEncoderConfigurationInSegments) When includeEncoderConfigurationInSegments is set to true, MediaPackage places your encoder's Sequence Parameter Set (SPS), Picture Parameter Set (PPS), and Video Parameter Set (VPS) metadata in every video segment instead of in the init fragment.includeIframeOnlyStream
(Boolean includeIframeOnlyStream) When enabled, an I-Frame only stream will be included in the output.periodTriggers
(Collection<PeriodTriggersElement> periodTriggers) A list of triggers that controls when the outgoing Dynamic Adaptive Streaming over HTTP (DASH) Media Presentation Description (MPD) will be partitioned into multiple periods.periodTriggers
(PeriodTriggersElement... periodTriggers) A list of triggers that controls when the outgoing Dynamic Adaptive Streaming over HTTP (DASH) Media Presentation Description (MPD) will be partitioned into multiple periods.periodTriggersWithStrings
(String... periodTriggers) A list of triggers that controls when the outgoing Dynamic Adaptive Streaming over HTTP (DASH) Media Presentation Description (MPD) will be partitioned into multiple periods.periodTriggersWithStrings
(Collection<String> periodTriggers) A list of triggers that controls when the outgoing Dynamic Adaptive Streaming over HTTP (DASH) Media Presentation Description (MPD) will be partitioned into multiple periods.segmentDurationSeconds
(Integer segmentDurationSeconds) Duration (in seconds) of each segment.segmentTemplateFormat
(String segmentTemplateFormat) Determines the type of SegmentTemplate included in the Media Presentation Description (MPD).segmentTemplateFormat
(SegmentTemplateFormat segmentTemplateFormat) Determines the type of SegmentTemplate included in the Media Presentation Description (MPD).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
-
dashManifests
A list of DASH manifest configurations.- Parameters:
dashManifests
- A list of DASH manifest configurations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dashManifests
A list of DASH manifest configurations.- Parameters:
dashManifests
- A list of DASH manifest configurations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dashManifests
A list of DASH manifest configurations. This is a convenience method that creates an instance of theDashManifest.Builder
avoiding the need to create one manually viaDashManifest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todashManifests(List<DashManifest>)
.- Parameters:
dashManifests
- a consumer that will call methods onDashManifest.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 theDashEncryption.Builder
avoiding the need to create one manually viaDashEncryption.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toencryption(DashEncryption)
.- Parameters:
encryption
- a consumer that will call methods onDashEncryption.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
includeEncoderConfigurationInSegments
DashPackage.Builder includeEncoderConfigurationInSegments(Boolean includeEncoderConfigurationInSegments) When includeEncoderConfigurationInSegments is set to true, MediaPackage places your encoder's Sequence Parameter Set (SPS), Picture Parameter Set (PPS), and Video Parameter Set (VPS) metadata in every video segment instead of in the init fragment. This lets you use different SPS/PPS/VPS settings for your assets during content playback.- Parameters:
includeEncoderConfigurationInSegments
- When includeEncoderConfigurationInSegments is set to true, MediaPackage places your encoder's Sequence Parameter Set (SPS), Picture Parameter Set (PPS), and Video Parameter Set (VPS) metadata in every video segment instead of in the init fragment. This lets you use different SPS/PPS/VPS settings for your assets during content playback.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includeIframeOnlyStream
When enabled, an I-Frame only stream will be included in the output.- Parameters:
includeIframeOnlyStream
- When enabled, an I-Frame only stream will be included in the output.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
periodTriggersWithStrings
A list of triggers that controls when the outgoing Dynamic Adaptive Streaming over HTTP (DASH) Media Presentation Description (MPD) will be partitioned into multiple periods. If empty, the content will not be partitioned into more than one period. If the list contains "ADS", new periods will be created where the Asset contains SCTE-35 ad markers.- Parameters:
periodTriggers
- A list of triggers that controls when the outgoing Dynamic Adaptive Streaming over HTTP (DASH) Media Presentation Description (MPD) will be partitioned into multiple periods. If empty, the content will not be partitioned into more than one period. If the list contains "ADS", new periods will be created where the Asset contains SCTE-35 ad markers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
periodTriggersWithStrings
A list of triggers that controls when the outgoing Dynamic Adaptive Streaming over HTTP (DASH) Media Presentation Description (MPD) will be partitioned into multiple periods. If empty, the content will not be partitioned into more than one period. If the list contains "ADS", new periods will be created where the Asset contains SCTE-35 ad markers.- Parameters:
periodTriggers
- A list of triggers that controls when the outgoing Dynamic Adaptive Streaming over HTTP (DASH) Media Presentation Description (MPD) will be partitioned into multiple periods. If empty, the content will not be partitioned into more than one period. If the list contains "ADS", new periods will be created where the Asset contains SCTE-35 ad markers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
periodTriggers
A list of triggers that controls when the outgoing Dynamic Adaptive Streaming over HTTP (DASH) Media Presentation Description (MPD) will be partitioned into multiple periods. If empty, the content will not be partitioned into more than one period. If the list contains "ADS", new periods will be created where the Asset contains SCTE-35 ad markers.- Parameters:
periodTriggers
- A list of triggers that controls when the outgoing Dynamic Adaptive Streaming over HTTP (DASH) Media Presentation Description (MPD) will be partitioned into multiple periods. If empty, the content will not be partitioned into more than one period. If the list contains "ADS", new periods will be created where the Asset contains SCTE-35 ad markers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
periodTriggers
A list of triggers that controls when the outgoing Dynamic Adaptive Streaming over HTTP (DASH) Media Presentation Description (MPD) will be partitioned into multiple periods. If empty, the content will not be partitioned into more than one period. If the list contains "ADS", new periods will be created where the Asset contains SCTE-35 ad markers.- Parameters:
periodTriggers
- A list of triggers that controls when the outgoing Dynamic Adaptive Streaming over HTTP (DASH) Media Presentation Description (MPD) will be partitioned into multiple periods. If empty, the content will not be partitioned into more than one period. If the list contains "ADS", new periods will be created where the Asset contains SCTE-35 ad markers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
segmentDurationSeconds
Duration (in seconds) of each segment. Actual segments will be rounded to the nearest multiple of the source segment duration.- Parameters:
segmentDurationSeconds
- Duration (in seconds) of each segment. Actual segments will be rounded to the nearest multiple of the source segment duration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
segmentTemplateFormat
Determines the type of SegmentTemplate included in the Media Presentation Description (MPD). When set to NUMBER_WITH_TIMELINE, a full timeline is presented in each SegmentTemplate, with $Number$ media URLs. When set to TIME_WITH_TIMELINE, a full timeline is presented in each SegmentTemplate, with $Time$ media URLs. When set to NUMBER_WITH_DURATION, only a duration is included in each SegmentTemplate, with $Number$ media URLs.- Parameters:
segmentTemplateFormat
- Determines the type of SegmentTemplate included in the Media Presentation Description (MPD). When set to NUMBER_WITH_TIMELINE, a full timeline is presented in each SegmentTemplate, with $Number$ media URLs. When set to TIME_WITH_TIMELINE, a full timeline is presented in each SegmentTemplate, with $Time$ media URLs. When set to NUMBER_WITH_DURATION, only a duration is included in each SegmentTemplate, with $Number$ media URLs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
segmentTemplateFormat
Determines the type of SegmentTemplate included in the Media Presentation Description (MPD). When set to NUMBER_WITH_TIMELINE, a full timeline is presented in each SegmentTemplate, with $Number$ media URLs. When set to TIME_WITH_TIMELINE, a full timeline is presented in each SegmentTemplate, with $Time$ media URLs. When set to NUMBER_WITH_DURATION, only a duration is included in each SegmentTemplate, with $Number$ media URLs.- Parameters:
segmentTemplateFormat
- Determines the type of SegmentTemplate included in the Media Presentation Description (MPD). When set to NUMBER_WITH_TIMELINE, a full timeline is presented in each SegmentTemplate, with $Number$ media URLs. When set to TIME_WITH_TIMELINE, a full timeline is presented in each SegmentTemplate, with $Time$ media URLs. When set to NUMBER_WITH_DURATION, only a duration is included in each SegmentTemplate, with $Number$ media URLs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-