Class CfnPackagingConfiguration.DashPackageProperty.Builder
java.lang.Object
software.amazon.awscdk.services.mediapackage.CfnPackagingConfiguration.DashPackageProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPackagingConfiguration.DashPackageProperty>
- Enclosing interface:
CfnPackagingConfiguration.DashPackageProperty
@Stability(Stable)
public static final class CfnPackagingConfiguration.DashPackageProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPackagingConfiguration.DashPackageProperty>
A builder for
CfnPackagingConfiguration.DashPackageProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.dashManifests
(List<? extends Object> dashManifests) Sets the value ofCfnPackagingConfiguration.DashPackageProperty.getDashManifests()
dashManifests
(IResolvable dashManifests) Sets the value ofCfnPackagingConfiguration.DashPackageProperty.getDashManifests()
encryption
(IResolvable encryption) Sets the value ofCfnPackagingConfiguration.DashPackageProperty.getEncryption()
Sets the value ofCfnPackagingConfiguration.DashPackageProperty.getEncryption()
includeEncoderConfigurationInSegments
(Boolean includeEncoderConfigurationInSegments) includeEncoderConfigurationInSegments
(IResolvable includeEncoderConfigurationInSegments) includeIframeOnlyStream
(Boolean includeIframeOnlyStream) includeIframeOnlyStream
(IResolvable includeIframeOnlyStream) periodTriggers
(List<String> periodTriggers) Sets the value ofCfnPackagingConfiguration.DashPackageProperty.getPeriodTriggers()
segmentDurationSeconds
(Number segmentDurationSeconds) segmentTemplateFormat
(String segmentTemplateFormat) Sets the value ofCfnPackagingConfiguration.DashPackageProperty.getSegmentTemplateFormat()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dashManifests
@Stability(Stable) public CfnPackagingConfiguration.DashPackageProperty.Builder dashManifests(IResolvable dashManifests) Sets the value ofCfnPackagingConfiguration.DashPackageProperty.getDashManifests()
- Parameters:
dashManifests
- A list of DASH manifest configurations that are available from this endpoint. This parameter is required.- Returns:
this
-
dashManifests
@Stability(Stable) public CfnPackagingConfiguration.DashPackageProperty.Builder dashManifests(List<? extends Object> dashManifests) Sets the value ofCfnPackagingConfiguration.DashPackageProperty.getDashManifests()
- Parameters:
dashManifests
- A list of DASH manifest configurations that are available from this endpoint. This parameter is required.- Returns:
this
-
encryption
@Stability(Stable) public CfnPackagingConfiguration.DashPackageProperty.Builder encryption(IResolvable encryption) Sets the value ofCfnPackagingConfiguration.DashPackageProperty.getEncryption()
- Parameters:
encryption
- Parameters for encrypting content.- Returns:
this
-
encryption
@Stability(Stable) public CfnPackagingConfiguration.DashPackageProperty.Builder encryption(CfnPackagingConfiguration.DashEncryptionProperty encryption) Sets the value ofCfnPackagingConfiguration.DashPackageProperty.getEncryption()
- Parameters:
encryption
- Parameters for encrypting content.- Returns:
this
-
includeEncoderConfigurationInSegments
@Stability(Stable) public CfnPackagingConfiguration.DashPackageProperty.Builder includeEncoderConfigurationInSegments(Boolean includeEncoderConfigurationInSegments) Sets the value ofCfnPackagingConfiguration.DashPackageProperty.getIncludeEncoderConfigurationInSegments()
- Parameters:
includeEncoderConfigurationInSegments
- When includeEncoderConfigurationInSegments is set to true, AWS Elemental 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:
this
-
includeEncoderConfigurationInSegments
@Stability(Stable) public CfnPackagingConfiguration.DashPackageProperty.Builder includeEncoderConfigurationInSegments(IResolvable includeEncoderConfigurationInSegments) Sets the value ofCfnPackagingConfiguration.DashPackageProperty.getIncludeEncoderConfigurationInSegments()
- Parameters:
includeEncoderConfigurationInSegments
- When includeEncoderConfigurationInSegments is set to true, AWS Elemental 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:
this
-
includeIframeOnlyStream
@Stability(Stable) public CfnPackagingConfiguration.DashPackageProperty.Builder includeIframeOnlyStream(Boolean includeIframeOnlyStream) - Parameters:
includeIframeOnlyStream
- This applies only to stream sets with a single video track. When true, the stream set includes an additional I-frame trick-play only stream, along with the other tracks. If false, this extra stream is not included.- Returns:
this
-
includeIframeOnlyStream
@Stability(Stable) public CfnPackagingConfiguration.DashPackageProperty.Builder includeIframeOnlyStream(IResolvable includeIframeOnlyStream) - Parameters:
includeIframeOnlyStream
- This applies only to stream sets with a single video track. When true, the stream set includes an additional I-frame trick-play only stream, along with the other tracks. If false, this extra stream is not included.- Returns:
this
-
periodTriggers
@Stability(Stable) public CfnPackagingConfiguration.DashPackageProperty.Builder periodTriggers(List<String> periodTriggers) Sets the value ofCfnPackagingConfiguration.DashPackageProperty.getPeriodTriggers()
- Parameters:
periodTriggers
- Controls whether AWS Elemental MediaPackage produces single-period or multi-period DASH manifests. For more information about periods, see Multi-period DASH in AWS Elemental MediaPackage .Valid values:
ADS
- AWS Elemental MediaPackage will produce multi-period DASH manifests. Periods are created based on the SCTE-35 ad markers present in the input manifest.- No value - AWS Elemental MediaPackage will produce single-period DASH manifests. This is the default setting.
- Returns:
this
-
segmentDurationSeconds
@Stability(Stable) public CfnPackagingConfiguration.DashPackageProperty.Builder segmentDurationSeconds(Number segmentDurationSeconds) - Parameters:
segmentDurationSeconds
- Duration (in seconds) of each fragment. Actual fragments are rounded to the nearest multiple of the source segment duration.- Returns:
this
-
segmentTemplateFormat
@Stability(Stable) public CfnPackagingConfiguration.DashPackageProperty.Builder segmentTemplateFormat(String segmentTemplateFormat) Sets the value ofCfnPackagingConfiguration.DashPackageProperty.getSegmentTemplateFormat()
- Parameters:
segmentTemplateFormat
- Determines the type of SegmentTemplate included in the Media Presentation Description (MPD). When set toNUMBER_WITH_TIMELINE
, a full timeline is presented in each SegmentTemplate, with $Number$ media URLs. When set toTIME_WITH_TIMELINE
, a full timeline is presented in each SegmentTemplate, with $Time$ media URLs. When set toNUMBER_WITH_DURATION
, only a duration is included in each SegmentTemplate, with $Number$ media URLs.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPackagingConfiguration.DashPackageProperty>
- Returns:
- a new instance of
CfnPackagingConfiguration.DashPackageProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-