Class CfnPackagingConfigurationProps.Builder
java.lang.Object
software.amazon.awscdk.services.mediapackage.CfnPackagingConfigurationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPackagingConfigurationProps>
- Enclosing interface:
- CfnPackagingConfigurationProps
@Stability(Stable)
public static final class CfnPackagingConfigurationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPackagingConfigurationProps>
A builder for
CfnPackagingConfigurationProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.cmafPackage(IResolvable cmafPackage) Sets the value ofCfnPackagingConfigurationProps.getCmafPackage()cmafPackage(CfnPackagingConfiguration.CmafPackageProperty cmafPackage) Sets the value ofCfnPackagingConfigurationProps.getCmafPackage()dashPackage(IResolvable dashPackage) Sets the value ofCfnPackagingConfigurationProps.getDashPackage()dashPackage(CfnPackagingConfiguration.DashPackageProperty dashPackage) Sets the value ofCfnPackagingConfigurationProps.getDashPackage()hlsPackage(IResolvable hlsPackage) Sets the value ofCfnPackagingConfigurationProps.getHlsPackage()Sets the value ofCfnPackagingConfigurationProps.getHlsPackage()Sets the value ofCfnPackagingConfigurationProps.getId()mssPackage(IResolvable mssPackage) Sets the value ofCfnPackagingConfigurationProps.getMssPackage()Sets the value ofCfnPackagingConfigurationProps.getMssPackage()packagingGroupId(String packagingGroupId) Sets the value ofCfnPackagingConfigurationProps.getPackagingGroupId()Sets the value ofCfnPackagingConfigurationProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
id
Sets the value ofCfnPackagingConfigurationProps.getId()- Parameters:
id- Unique identifier that you assign to the packaging configuration. This parameter is required.- Returns:
this
-
packagingGroupId
@Stability(Stable) public CfnPackagingConfigurationProps.Builder packagingGroupId(String packagingGroupId) Sets the value ofCfnPackagingConfigurationProps.getPackagingGroupId()- Parameters:
packagingGroupId- The ID of the packaging group associated with this packaging configuration. This parameter is required.- Returns:
this
-
cmafPackage
@Stability(Stable) public CfnPackagingConfigurationProps.Builder cmafPackage(IResolvable cmafPackage) Sets the value ofCfnPackagingConfigurationProps.getCmafPackage()- Parameters:
cmafPackage- Parameters for CMAF packaging.- Returns:
this
-
cmafPackage
@Stability(Stable) public CfnPackagingConfigurationProps.Builder cmafPackage(CfnPackagingConfiguration.CmafPackageProperty cmafPackage) Sets the value ofCfnPackagingConfigurationProps.getCmafPackage()- Parameters:
cmafPackage- Parameters for CMAF packaging.- Returns:
this
-
dashPackage
@Stability(Stable) public CfnPackagingConfigurationProps.Builder dashPackage(IResolvable dashPackage) Sets the value ofCfnPackagingConfigurationProps.getDashPackage()- Parameters:
dashPackage- Parameters for DASH-ISO packaging.- Returns:
this
-
dashPackage
@Stability(Stable) public CfnPackagingConfigurationProps.Builder dashPackage(CfnPackagingConfiguration.DashPackageProperty dashPackage) Sets the value ofCfnPackagingConfigurationProps.getDashPackage()- Parameters:
dashPackage- Parameters for DASH-ISO packaging.- Returns:
this
-
hlsPackage
Sets the value ofCfnPackagingConfigurationProps.getHlsPackage()- Parameters:
hlsPackage- Parameters for Apple HLS packaging.- Returns:
this
-
hlsPackage
@Stability(Stable) public CfnPackagingConfigurationProps.Builder hlsPackage(CfnPackagingConfiguration.HlsPackageProperty hlsPackage) Sets the value ofCfnPackagingConfigurationProps.getHlsPackage()- Parameters:
hlsPackage- Parameters for Apple HLS packaging.- Returns:
this
-
mssPackage
Sets the value ofCfnPackagingConfigurationProps.getMssPackage()- Parameters:
mssPackage- Parameters for Microsoft Smooth Streaming packaging.- Returns:
this
-
mssPackage
@Stability(Stable) public CfnPackagingConfigurationProps.Builder mssPackage(CfnPackagingConfiguration.MssPackageProperty mssPackage) Sets the value ofCfnPackagingConfigurationProps.getMssPackage()- Parameters:
mssPackage- Parameters for Microsoft Smooth Streaming packaging.- Returns:
this
-
tags
Sets the value ofCfnPackagingConfigurationProps.getTags()- Parameters:
tags- The tags to assign to the packaging configuration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPackagingConfigurationProps>- Returns:
- a new instance of
CfnPackagingConfigurationProps - Throws:
NullPointerException- if any required attribute was not provided
-