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 Summary
Modifier and TypeMethodDescriptionavailabilityZone(String availabilityZone) The Availability Zone that you want to create the flow in.build()static CfnFlow.BuilderThe name of the flow.source(IResolvable source) The settings for the source that you want to use for the new flow.source(CfnFlow.SourceProperty source) The settings for the source that you want to use for the new flow.sourceFailoverConfig(IResolvable sourceFailoverConfig) The settings for source failover.sourceFailoverConfig(CfnFlow.FailoverConfigProperty sourceFailoverConfig) The settings for source failover.
-
Method Details
-
create
@Stability(Stable) public static CfnFlow.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnFlow.Builder.
-
name
The name of the flow.- Parameters:
name- The name of the flow. This parameter is required.- Returns:
this- See Also:
-
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- See Also:
-
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- See Also:
-
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- See Also:
-
sourceFailoverConfig
The settings for source failover.- Parameters:
sourceFailoverConfig- The settings for source failover. This parameter is required.- Returns:
this- See Also:
-
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- See Also:
-
build
-