Class CfnChannelPolicyProps.Builder
java.lang.Object
software.amazon.awscdk.services.mediatailor.CfnChannelPolicyProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannelPolicyProps>
- Enclosing interface:
CfnChannelPolicyProps
@Stability(Stable)
public static final class CfnChannelPolicyProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannelPolicyProps>
A builder for
CfnChannelPolicyProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.channelName(String channelName) Sets the value ofCfnChannelPolicyProps.getChannelName()Sets the value ofCfnChannelPolicyProps.getPolicy()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
channelName
Sets the value ofCfnChannelPolicyProps.getChannelName()- Parameters:
channelName- The name of the channel associated with this Channel Policy. This parameter is required.- Returns:
this
-
policy
Sets the value ofCfnChannelPolicyProps.getPolicy()- Parameters:
policy- The IAM policy for the channel. This parameter is required. IAM policies are used to control access to your channel.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannelPolicyProps>- Returns:
- a new instance of
CfnChannelPolicyProps - Throws:
NullPointerException- if any required attribute was not provided
-