Class CfnFlow.Builder

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

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

    • create

      @Stability(Stable) public static CfnFlow.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 CfnFlow.Builder.
    • name

      @Stability(Stable) public CfnFlow.Builder name(String name)
      The name of the flow.

      Parameters:
      name - The name of the flow. This parameter is required.
      Returns:
      this
    • source

      @Stability(Stable) public CfnFlow.Builder source(CfnFlow.SourceProperty source)
      The settings for the source that you want to use for the new flow.

      Parameters:
      source - The settings for the source that you want to use for the new flow. This parameter is required.
      Returns:
      this
    • source

      @Stability(Stable) public CfnFlow.Builder source(IResolvable source)
      The settings for the source that you want to use for the new flow.

      Parameters:
      source - The settings for the source that you want to use for the new flow. This parameter is required.
      Returns:
      this
    • availabilityZone

      @Stability(Stable) public CfnFlow.Builder availabilityZone(String availabilityZone)
      The Availability Zone that you want to create the flow in.

      These options are limited to the Availability Zones within the current AWS Region.

      Parameters:
      availabilityZone - The Availability Zone that you want to create the flow in. This parameter is required.
      Returns:
      this
    • sourceFailoverConfig

      @Stability(Stable) public CfnFlow.Builder sourceFailoverConfig(IResolvable sourceFailoverConfig)
      The settings for source failover.

      Parameters:
      sourceFailoverConfig - The settings for source failover. This parameter is required.
      Returns:
      this
    • sourceFailoverConfig

      @Stability(Stable) public CfnFlow.Builder sourceFailoverConfig(CfnFlow.FailoverConfigProperty sourceFailoverConfig)
      The settings for source failover.

      Parameters:
      sourceFailoverConfig - The settings for source failover. This parameter is required.
      Returns:
      this
    • build

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