Class CfnInput.Builder

java.lang.Object
software.amazon.awscdk.services.medialive.CfnInput.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInput>
Enclosing class:
CfnInput

@Stability(Stable) public static final class CfnInput.Builder extends Object implements software.amazon.jsii.Builder<CfnInput>
A fluent builder for CfnInput.
  • Method Details

    • create

      @Stability(Stable) public static CfnInput.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnInput.Builder.
    • destinations

      @Stability(Stable) public CfnInput.Builder destinations(IResolvable destinations)
      Settings that apply only if the input is a push type of input.

      Parameters:
      destinations - Settings that apply only if the input is a push type of input. This parameter is required.
      Returns:
      this
    • destinations

      @Stability(Stable) public CfnInput.Builder destinations(List<? extends Object> destinations)
      Settings that apply only if the input is a push type of input.

      Parameters:
      destinations - Settings that apply only if the input is a push type of input. This parameter is required.
      Returns:
      this
    • inputDevices

      @Stability(Stable) public CfnInput.Builder inputDevices(IResolvable inputDevices)
      Settings that apply only if the input is an Elemental Link input.

      Parameters:
      inputDevices - Settings that apply only if the input is an Elemental Link input. This parameter is required.
      Returns:
      this
    • inputDevices

      @Stability(Stable) public CfnInput.Builder inputDevices(List<? extends Object> inputDevices)
      Settings that apply only if the input is an Elemental Link input.

      Parameters:
      inputDevices - Settings that apply only if the input is an Elemental Link input. This parameter is required.
      Returns:
      this
    • inputSecurityGroups

      @Stability(Stable) public CfnInput.Builder inputSecurityGroups(List<String> inputSecurityGroups)
      The list of input security groups (referenced by IDs) to attach to the input if the input is a push type.

      Parameters:
      inputSecurityGroups - The list of input security groups (referenced by IDs) to attach to the input if the input is a push type. This parameter is required.
      Returns:
      this
    • mediaConnectFlows

      @Stability(Stable) public CfnInput.Builder mediaConnectFlows(IResolvable mediaConnectFlows)
      Settings that apply only if the input is a MediaConnect input.

      Parameters:
      mediaConnectFlows - Settings that apply only if the input is a MediaConnect input. This parameter is required.
      Returns:
      this
    • mediaConnectFlows

      @Stability(Stable) public CfnInput.Builder mediaConnectFlows(List<? extends Object> mediaConnectFlows)
      Settings that apply only if the input is a MediaConnect input.

      Parameters:
      mediaConnectFlows - Settings that apply only if the input is a MediaConnect input. This parameter is required.
      Returns:
      this
    • name

      @Stability(Stable) public CfnInput.Builder name(String name)
      A name for the input.

      Parameters:
      name - A name for the input. This parameter is required.
      Returns:
      this
    • roleArn

      @Stability(Stable) public CfnInput.Builder roleArn(String roleArn)
      The IAM role for MediaLive to assume when creating a MediaConnect input or Amazon VPC input.

      This doesn't apply to other types of inputs. The role is identified by its ARN.

      Parameters:
      roleArn - The IAM role for MediaLive to assume when creating a MediaConnect input or Amazon VPC input. This parameter is required.
      Returns:
      this
    • sources

      @Stability(Stable) public CfnInput.Builder sources(IResolvable sources)
      Settings that apply only if the input is a pull type of input.

      Parameters:
      sources - Settings that apply only if the input is a pull type of input. This parameter is required.
      Returns:
      this
    • sources

      @Stability(Stable) public CfnInput.Builder sources(List<? extends Object> sources)
      Settings that apply only if the input is a pull type of input.

      Parameters:
      sources - Settings that apply only if the input is a pull type of input. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnInput.Builder tags(Object tags)
      A collection of tags for this input.

      Each tag is a key-value pair.

      Parameters:
      tags - A collection of tags for this input. This parameter is required.
      Returns:
      this
    • type

      @Stability(Stable) public CfnInput.Builder type(String type)
      The type for this input.

      Parameters:
      type - The type for this input. This parameter is required.
      Returns:
      this
    • vpc

      @Stability(Stable) public CfnInput.Builder vpc(IResolvable vpc)
      Settings that apply only if the input is an push input where the source is on Amazon VPC.

      Parameters:
      vpc - Settings that apply only if the input is an push input where the source is on Amazon VPC. This parameter is required.
      Returns:
      this
    • vpc

      @Stability(Stable) public CfnInput.Builder vpc(CfnInput.InputVpcRequestProperty vpc)
      Settings that apply only if the input is an push input where the source is on Amazon VPC.

      Parameters:
      vpc - Settings that apply only if the input is an push input where the source is on Amazon VPC. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnInput build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnInput>
      Returns:
      a newly built instance of CfnInput.