Class CfnPackagingConfiguration.CmafPackageProperty.Builder
java.lang.Object
software.amazon.awscdk.services.mediapackage.CfnPackagingConfiguration.CmafPackageProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPackagingConfiguration.CmafPackageProperty>
- Enclosing interface:
CfnPackagingConfiguration.CmafPackageProperty
@Stability(Stable)
public static final class CfnPackagingConfiguration.CmafPackageProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPackagingConfiguration.CmafPackageProperty>
A builder for
CfnPackagingConfiguration.CmafPackageProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.encryption
(IResolvable encryption) Sets the value ofCfnPackagingConfiguration.CmafPackageProperty.getEncryption()
Sets the value ofCfnPackagingConfiguration.CmafPackageProperty.getEncryption()
hlsManifests
(List<? extends Object> hlsManifests) Sets the value ofCfnPackagingConfiguration.CmafPackageProperty.getHlsManifests()
hlsManifests
(IResolvable hlsManifests) Sets the value ofCfnPackagingConfiguration.CmafPackageProperty.getHlsManifests()
includeEncoderConfigurationInSegments
(Boolean includeEncoderConfigurationInSegments) includeEncoderConfigurationInSegments
(IResolvable includeEncoderConfigurationInSegments) segmentDurationSeconds
(Number segmentDurationSeconds)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
hlsManifests
@Stability(Stable) public CfnPackagingConfiguration.CmafPackageProperty.Builder hlsManifests(IResolvable hlsManifests) Sets the value ofCfnPackagingConfiguration.CmafPackageProperty.getHlsManifests()
- Parameters:
hlsManifests
- A list of HLS manifest configurations that are available from this endpoint. This parameter is required.- Returns:
this
-
hlsManifests
@Stability(Stable) public CfnPackagingConfiguration.CmafPackageProperty.Builder hlsManifests(List<? extends Object> hlsManifests) Sets the value ofCfnPackagingConfiguration.CmafPackageProperty.getHlsManifests()
- Parameters:
hlsManifests
- A list of HLS manifest configurations that are available from this endpoint. This parameter is required.- Returns:
this
-
encryption
@Stability(Stable) public CfnPackagingConfiguration.CmafPackageProperty.Builder encryption(IResolvable encryption) Sets the value ofCfnPackagingConfiguration.CmafPackageProperty.getEncryption()
- Parameters:
encryption
- Parameters for encrypting content.- Returns:
this
-
encryption
@Stability(Stable) public CfnPackagingConfiguration.CmafPackageProperty.Builder encryption(CfnPackagingConfiguration.CmafEncryptionProperty encryption) Sets the value ofCfnPackagingConfiguration.CmafPackageProperty.getEncryption()
- Parameters:
encryption
- Parameters for encrypting content.- Returns:
this
-
includeEncoderConfigurationInSegments
@Stability(Stable) public CfnPackagingConfiguration.CmafPackageProperty.Builder includeEncoderConfigurationInSegments(Boolean includeEncoderConfigurationInSegments) Sets the value ofCfnPackagingConfiguration.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 CfnPackagingConfiguration.CmafPackageProperty.Builder includeEncoderConfigurationInSegments(IResolvable includeEncoderConfigurationInSegments) Sets the value ofCfnPackagingConfiguration.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 CfnPackagingConfiguration.CmafPackageProperty.Builder segmentDurationSeconds(Number segmentDurationSeconds) - 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:
build
in interfacesoftware.amazon.jsii.Builder<CfnPackagingConfiguration.CmafPackageProperty>
- Returns:
- a new instance of
CfnPackagingConfiguration.CmafPackageProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-