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.Builder
The 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
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- 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
-
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
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
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
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
-