Class ChannelGroupAttributes.Builder
java.lang.Object
software.amazon.awscdk.services.mediapackagev2.alpha.ChannelGroupAttributes.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ChannelGroupAttributes>
- Enclosing interface:
ChannelGroupAttributes
@Stability(Experimental)
public static final class ChannelGroupAttributes.Builder
extends Object
implements software.amazon.jsii.Builder<ChannelGroupAttributes>
A builder for
ChannelGroupAttributes-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.channelGroupName(String channelGroupName) Sets the value ofChannelGroupAttributes.getChannelGroupName()egressDomain(String egressDomain) Sets the value ofChannelGroupAttributes.getEgressDomain()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
channelGroupName
@Stability(Experimental) public ChannelGroupAttributes.Builder channelGroupName(String channelGroupName) Sets the value ofChannelGroupAttributes.getChannelGroupName()- Parameters:
channelGroupName- Channel Group Name. This parameter is required.- Returns:
this
-
egressDomain
Sets the value ofChannelGroupAttributes.getEgressDomain()- Parameters:
egressDomain- The egress domain where packaged content is available. Use this as the origin domain when configuring a CDN such as Amazon CloudFront.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ChannelGroupAttributes>- Returns:
- a new instance of
ChannelGroupAttributes - Throws:
NullPointerException- if any required attribute was not provided
-