Class ChannelGroupProps.Builder

java.lang.Object
software.amazon.awscdk.services.mediapackagev2.alpha.ChannelGroupProps.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<ChannelGroupProps>
Enclosing interface:
ChannelGroupProps

@Stability(Experimental) public static final class ChannelGroupProps.Builder extends Object implements software.amazon.jsii.Builder<ChannelGroupProps>
A builder for ChannelGroupProps
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • channelGroupName

      @Stability(Experimental) public ChannelGroupProps.Builder channelGroupName(String channelGroupName)
      Parameters:
      channelGroupName - The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.
      Returns:
      this
    • description

      @Stability(Experimental) public ChannelGroupProps.Builder description(String description)
      Parameters:
      description - The description for your channel group.
      Returns:
      this
    • removalPolicy

      @Stability(Experimental) public ChannelGroupProps.Builder removalPolicy(RemovalPolicy removalPolicy)
      Parameters:
      removalPolicy - Policy to apply when the channel group is removed from the stack. Even though MediaPackage ChannelGroups, Channels and OriginEndpoints are technically stateful, their contents are transient and it is common to add and remove these while rearchitecting your application. The default is therefore DESTROY. Change it to RETAIN if the content (in a lookback window) are so valuable that accidentally losing it would be unacceptable.
      Returns:
      this
    • tags

      @Stability(Experimental) public ChannelGroupProps.Builder tags(Map<String,String> tags)
      Sets the value of ChannelGroupProps.getTags()
      Parameters:
      tags - Tags to add to the Channel Group.
      Returns:
      this
    • build

      @Stability(Experimental) public ChannelGroupProps build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<ChannelGroupProps>
      Returns:
      a new instance of ChannelGroupProps
      Throws:
      NullPointerException - if any required attribute was not provided