Class CfnChannelPolicy.Builder
java.lang.Object
software.amazon.awscdk.services.mediapackagev2.CfnChannelPolicy.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannelPolicy>
- Enclosing class:
CfnChannelPolicy
@Stability(Stable)
public static final class CfnChannelPolicy.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannelPolicy>
A fluent builder for
CfnChannelPolicy
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
channelGroupName
(String channelGroupName) The name of the channel group associated with the channel policy.channelName
(String channelName) The name of the channel associated with the channel policy.static CfnChannelPolicy.Builder
The policy associated with the channel.
-
Method Details
-
create
@Stability(Stable) public static CfnChannelPolicy.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnChannelPolicy.Builder
.
-
channelGroupName
The name of the channel group associated with the channel policy.- Parameters:
channelGroupName
- The name of the channel group associated with the channel policy. This parameter is required.- Returns:
this
- See Also:
-
channelName
The name of the channel associated with the channel policy.- Parameters:
channelName
- The name of the channel associated with the channel policy. This parameter is required.- Returns:
this
- See Also:
-
policy
The policy associated with the channel.- Parameters:
policy
- The policy associated with the channel. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnChannelPolicy>
- Returns:
- a newly built instance of
CfnChannelPolicy
.
-