Class CfnPackagingConfiguration.MssPackageProperty.Builder
java.lang.Object
software.amazon.awscdk.services.mediapackage.CfnPackagingConfiguration.MssPackageProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPackagingConfiguration.MssPackageProperty>
- Enclosing interface:
CfnPackagingConfiguration.MssPackageProperty
@Stability(Stable)
public static final class CfnPackagingConfiguration.MssPackageProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPackagingConfiguration.MssPackageProperty>
A builder for
CfnPackagingConfiguration.MssPackageProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.encryption(IResolvable encryption) Sets the value ofCfnPackagingConfiguration.MssPackageProperty.getEncryption()Sets the value ofCfnPackagingConfiguration.MssPackageProperty.getEncryption()mssManifests(List<? extends Object> mssManifests) Sets the value ofCfnPackagingConfiguration.MssPackageProperty.getMssManifests()mssManifests(IResolvable mssManifests) Sets the value ofCfnPackagingConfiguration.MssPackageProperty.getMssManifests()segmentDurationSeconds(Number segmentDurationSeconds) Sets the value ofCfnPackagingConfiguration.MssPackageProperty.getSegmentDurationSeconds()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
mssManifests
@Stability(Stable) public CfnPackagingConfiguration.MssPackageProperty.Builder mssManifests(IResolvable mssManifests) Sets the value ofCfnPackagingConfiguration.MssPackageProperty.getMssManifests()- Parameters:
mssManifests- A list of Microsoft Smooth manifest configurations that are available from this endpoint. This parameter is required.- Returns:
this
-
mssManifests
@Stability(Stable) public CfnPackagingConfiguration.MssPackageProperty.Builder mssManifests(List<? extends Object> mssManifests) Sets the value ofCfnPackagingConfiguration.MssPackageProperty.getMssManifests()- Parameters:
mssManifests- A list of Microsoft Smooth manifest configurations that are available from this endpoint. This parameter is required.- Returns:
this
-
encryption
@Stability(Stable) public CfnPackagingConfiguration.MssPackageProperty.Builder encryption(IResolvable encryption) Sets the value ofCfnPackagingConfiguration.MssPackageProperty.getEncryption()- Parameters:
encryption- Parameters for encrypting content.- Returns:
this
-
encryption
@Stability(Stable) public CfnPackagingConfiguration.MssPackageProperty.Builder encryption(CfnPackagingConfiguration.MssEncryptionProperty encryption) Sets the value ofCfnPackagingConfiguration.MssPackageProperty.getEncryption()- Parameters:
encryption- Parameters for encrypting content.- Returns:
this
-
segmentDurationSeconds
@Stability(Stable) public CfnPackagingConfiguration.MssPackageProperty.Builder segmentDurationSeconds(Number segmentDurationSeconds) Sets the value ofCfnPackagingConfiguration.MssPackageProperty.getSegmentDurationSeconds()- Parameters:
segmentDurationSeconds- Duration (in seconds) of each fragment. Actual fragments 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<CfnPackagingConfiguration.MssPackageProperty>- Returns:
- a new instance of
CfnPackagingConfiguration.MssPackageProperty - Throws:
NullPointerException- if any required attribute was not provided
-