Class ChannelPlacementGroupReference.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.ChannelPlacementGroupReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ChannelPlacementGroupReference>
- Enclosing interface:
ChannelPlacementGroupReference
@Stability(Stable)
public static final class ChannelPlacementGroupReference.Builder
extends Object
implements software.amazon.jsii.Builder<ChannelPlacementGroupReference>
A builder for
ChannelPlacementGroupReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.channelPlacementGroupArn
(String channelPlacementGroupArn) Sets the value ofChannelPlacementGroupReference.getChannelPlacementGroupArn()
channelPlacementGroupId
(String channelPlacementGroupId) Sets the value ofChannelPlacementGroupReference.getChannelPlacementGroupId()
Sets the value ofChannelPlacementGroupReference.getClusterId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
channelPlacementGroupArn
@Stability(Stable) public ChannelPlacementGroupReference.Builder channelPlacementGroupArn(String channelPlacementGroupArn) Sets the value ofChannelPlacementGroupReference.getChannelPlacementGroupArn()
- Parameters:
channelPlacementGroupArn
- The ARN of the ChannelPlacementGroup resource. This parameter is required.- Returns:
this
-
channelPlacementGroupId
@Stability(Stable) public ChannelPlacementGroupReference.Builder channelPlacementGroupId(String channelPlacementGroupId) Sets the value ofChannelPlacementGroupReference.getChannelPlacementGroupId()
- Parameters:
channelPlacementGroupId
- The Id of the ChannelPlacementGroup resource. This parameter is required.- Returns:
this
-
clusterId
Sets the value ofChannelPlacementGroupReference.getClusterId()
- Parameters:
clusterId
- The ClusterId of the ChannelPlacementGroup resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ChannelPlacementGroupReference>
- Returns:
- a new instance of
ChannelPlacementGroupReference
- Throws:
NullPointerException
- if any required attribute was not provided
-