Class ChannelAttributes.Builder
java.lang.Object
software.amazon.awscdk.services.mediapackagev2.alpha.ChannelAttributes.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ChannelAttributes>
- Enclosing interface:
ChannelAttributes
@Stability(Experimental)
public static final class ChannelAttributes.Builder
extends Object
implements software.amazon.jsii.Builder<ChannelAttributes>
A builder for
ChannelAttributes-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.channelGroupName(String channelGroupName) Sets the value ofChannelAttributes.getChannelGroupName()channelName(String channelName) Sets the value ofChannelAttributes.getChannelName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
channelGroupName
Sets the value ofChannelAttributes.getChannelGroupName()- Parameters:
channelGroupName- The name that describes the channel group. This parameter is required.- Returns:
this
-
channelName
Sets the value ofChannelAttributes.getChannelName()- Parameters:
channelName- The name that describes the channel. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ChannelAttributes>- Returns:
- a new instance of
ChannelAttributes - Throws:
NullPointerException- if any required attribute was not provided
-