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