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