Class CfnChannelGroupProps.Builder
java.lang.Object
software.amazon.awscdk.services.mediapackagev2.CfnChannelGroupProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannelGroupProps>
- Enclosing interface:
CfnChannelGroupProps
@Stability(Stable)
public static final class CfnChannelGroupProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannelGroupProps>
A builder for
CfnChannelGroupProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.channelGroupName(String channelGroupName) Sets the value ofCfnChannelGroupProps.getChannelGroupName()description(String description) Sets the value ofCfnChannelGroupProps.getDescription()Sets the value ofCfnChannelGroupProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
channelGroupName
Sets the value ofCfnChannelGroupProps.getChannelGroupName()- Parameters:
channelGroupName- The name of the channel group. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnChannelGroupProps.getDescription()- Parameters:
description- The configuration for a MediaPackage V2 channel group.- Returns:
this
-
tags
Sets the value ofCfnChannelGroupProps.getTags()- Parameters:
tags- The tags associated with the channel group.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannelGroupProps>- Returns:
- a new instance of
CfnChannelGroupProps - Throws:
NullPointerException- if any required attribute was not provided
-