Class CfnFlowProps.Builder
java.lang.Object
software.amazon.awscdk.services.mediaconnect.CfnFlowProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlowProps>
- Enclosing interface:
- CfnFlowProps
@Stability(Stable)
public static final class CfnFlowProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlowProps>
A builder for
CfnFlowProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionavailabilityZone(String availabilityZone) Sets the value ofCfnFlowProps.getAvailabilityZone()build()Builds the configured instance.Sets the value ofCfnFlowProps.getName()source(IResolvable source) Sets the value ofCfnFlowProps.getSource()source(CfnFlow.SourceProperty source) Sets the value ofCfnFlowProps.getSource()sourceFailoverConfig(IResolvable sourceFailoverConfig) Sets the value ofCfnFlowProps.getSourceFailoverConfig()sourceFailoverConfig(CfnFlow.FailoverConfigProperty sourceFailoverConfig) Sets the value ofCfnFlowProps.getSourceFailoverConfig()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnFlowProps.getName()- Parameters:
name- The name of the flow. This parameter is required.- Returns:
this
-
source
Sets the value ofCfnFlowProps.getSource()- Parameters:
source- The settings for the source that you want to use for the new flow. This parameter is required.- Returns:
this
-
source
Sets the value ofCfnFlowProps.getSource()- Parameters:
source- The settings for the source that you want to use for the new flow. This parameter is required.- Returns:
this
-
availabilityZone
Sets the value ofCfnFlowProps.getAvailabilityZone()- Parameters:
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.- Returns:
this
-
sourceFailoverConfig
@Stability(Stable) public CfnFlowProps.Builder sourceFailoverConfig(IResolvable sourceFailoverConfig) Sets the value ofCfnFlowProps.getSourceFailoverConfig()- Parameters:
sourceFailoverConfig- The settings for source failover.- Returns:
this
-
sourceFailoverConfig
@Stability(Stable) public CfnFlowProps.Builder sourceFailoverConfig(CfnFlow.FailoverConfigProperty sourceFailoverConfig) Sets the value ofCfnFlowProps.getSourceFailoverConfig()- Parameters:
sourceFailoverConfig- The settings for source failover.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFlowProps>- Returns:
- a new instance of
CfnFlowProps - Throws:
NullPointerException- if any required attribute was not provided
-