Class CfnPackagingConfigurationPropsMixin.CmafPackageProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.mediapackage.CfnPackagingConfigurationPropsMixin.CmafPackageProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPackagingConfigurationPropsMixin.CmafPackageProperty>
- Enclosing interface:
CfnPackagingConfigurationPropsMixin.CmafPackageProperty
@Stability(Stable)
public static final class CfnPackagingConfigurationPropsMixin.CmafPackageProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPackagingConfigurationPropsMixin.CmafPackageProperty>
A builder for
CfnPackagingConfigurationPropsMixin.CmafPackageProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnPackagingConfigurationPropsMixin.CmafPackageProperty.getEncryption()encryption(IResolvable encryption) Sets the value ofCfnPackagingConfigurationPropsMixin.CmafPackageProperty.getEncryption()hlsManifests(List<? extends Object> hlsManifests) hlsManifests(IResolvable hlsManifests) includeEncoderConfigurationInSegments(Boolean includeEncoderConfigurationInSegments) includeEncoderConfigurationInSegments(IResolvable includeEncoderConfigurationInSegments) segmentDurationSeconds(Number segmentDurationSeconds)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
encryption
@Stability(Stable) public CfnPackagingConfigurationPropsMixin.CmafPackageProperty.Builder encryption(IResolvable encryption) Sets the value ofCfnPackagingConfigurationPropsMixin.CmafPackageProperty.getEncryption()- Parameters:
encryption- Parameters for encrypting content.- Returns:
this
-
encryption
@Stability(Stable) public CfnPackagingConfigurationPropsMixin.CmafPackageProperty.Builder encryption(CfnPackagingConfigurationPropsMixin.CmafEncryptionProperty encryption) Sets the value ofCfnPackagingConfigurationPropsMixin.CmafPackageProperty.getEncryption()- Parameters:
encryption- Parameters for encrypting content.- Returns:
this
-
hlsManifests
@Stability(Stable) public CfnPackagingConfigurationPropsMixin.CmafPackageProperty.Builder hlsManifests(IResolvable hlsManifests) - Parameters:
hlsManifests- A list of HLS manifest configurations that are available from this endpoint.- Returns:
this
-
hlsManifests
@Stability(Stable) public CfnPackagingConfigurationPropsMixin.CmafPackageProperty.Builder hlsManifests(List<? extends Object> hlsManifests) - Parameters:
hlsManifests- A list of HLS manifest configurations that are available from this endpoint.- Returns:
this
-
includeEncoderConfigurationInSegments
@Stability(Stable) public CfnPackagingConfigurationPropsMixin.CmafPackageProperty.Builder includeEncoderConfigurationInSegments(Boolean includeEncoderConfigurationInSegments) Sets the value ofCfnPackagingConfigurationPropsMixin.CmafPackageProperty.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 CfnPackagingConfigurationPropsMixin.CmafPackageProperty.Builder includeEncoderConfigurationInSegments(IResolvable includeEncoderConfigurationInSegments) Sets the value ofCfnPackagingConfigurationPropsMixin.CmafPackageProperty.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
-
segmentDurationSeconds
@Stability(Stable) public CfnPackagingConfigurationPropsMixin.CmafPackageProperty.Builder segmentDurationSeconds(Number segmentDurationSeconds) Sets the value ofCfnPackagingConfigurationPropsMixin.CmafPackageProperty.getSegmentDurationSeconds()- Parameters:
segmentDurationSeconds- Duration (in seconds) of each segment. Actual segments are rounded to the nearest multiple of the source fragment duration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPackagingConfigurationPropsMixin.CmafPackageProperty>- Returns:
- a new instance of
CfnPackagingConfigurationPropsMixin.CmafPackageProperty - Throws:
NullPointerException- if any required attribute was not provided
-