Class CfnChannelProps.Builder
java.lang.Object
software.amazon.awscdk.services.mediapackagev2.CfnChannelProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannelProps>
- Enclosing interface:
CfnChannelProps
@Stability(Stable)
public static final class CfnChannelProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannelProps>
A builder for
CfnChannelProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.channelGroupName
(String channelGroupName) Sets the value ofCfnChannelProps.getChannelGroupName()
channelName
(String channelName) Sets the value ofCfnChannelProps.getChannelName()
description
(String description) Sets the value ofCfnChannelProps.getDescription()
Sets the value ofCfnChannelProps.getInputType()
Sets the value ofCfnChannelProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
channelGroupName
Sets the value ofCfnChannelProps.getChannelGroupName()
- Parameters:
channelGroupName
- The name of the channel group associated with the channel configuration. This parameter is required.- Returns:
this
-
channelName
Sets the value ofCfnChannelProps.getChannelName()
- Parameters:
channelName
- The name of the channel. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnChannelProps.getDescription()
- Parameters:
description
- The description of the channel.- Returns:
this
-
inputType
Sets the value ofCfnChannelProps.getInputType()
- Parameters:
inputType
- The input type will be an immutable field which will be used to define whether the channel will allow CMAF ingest or HLS ingest. If unprovided, it will default to HLS to preserve current behavior.The allowed values are:
HLS
- The HLS streaming specification (which defines M3U8 manifests and TS segments).CMAF
- The DASH-IF CMAF Ingest specification (which defines CMAF segments with optional DASH manifests).
- Returns:
this
-
tags
Sets the value ofCfnChannelProps.getTags()
- Parameters:
tags
- The tags associated with the channel.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnChannelProps>
- Returns:
- a new instance of
CfnChannelProps
- Throws:
NullPointerException
- if any required attribute was not provided
-