Class ChannelReference.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.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()
Sets the value ofChannelReference.getChannelId()
-
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
-
channelId
Sets the value ofChannelReference.getChannelId()
- Parameters:
channelId
- The Id of the Channel resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ChannelReference>
- Returns:
- a new instance of
ChannelReference
- Throws:
NullPointerException
- if any required attribute was not provided
-