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
-
Method Summary
Modifier and TypeMethodDescriptionavailabilityZone
(String availabilityZone) Sets the value ofCfnFlowProps.getAvailabilityZone()
build()
Builds the configured instance.maintenance
(IResolvable maintenance) Sets the value ofCfnFlowProps.getMaintenance()
maintenance
(CfnFlow.MaintenanceProperty maintenance) Sets the value ofCfnFlowProps.getMaintenance()
mediaStreams
(List<? extends Object> mediaStreams) Sets the value ofCfnFlowProps.getMediaStreams()
mediaStreams
(IResolvable mediaStreams) Sets the value ofCfnFlowProps.getMediaStreams()
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()
vpcInterfaces
(List<? extends Object> vpcInterfaces) Sets the value ofCfnFlowProps.getVpcInterfaces()
vpcInterfaces
(IResolvable vpcInterfaces) Sets the value ofCfnFlowProps.getVpcInterfaces()
-
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
-
maintenance
Sets the value ofCfnFlowProps.getMaintenance()
- Parameters:
maintenance
- The maintenance settings you want to use for the flow.- Returns:
this
-
maintenance
Sets the value ofCfnFlowProps.getMaintenance()
- Parameters:
maintenance
- The maintenance settings you want to use for the flow.- Returns:
this
-
mediaStreams
Sets the value ofCfnFlowProps.getMediaStreams()
- Parameters:
mediaStreams
- The media streams associated with the flow. You can associate any of these media streams with sources and outputs on the flow.- Returns:
this
-
mediaStreams
Sets the value ofCfnFlowProps.getMediaStreams()
- Parameters:
mediaStreams
- The media streams associated with the flow. You can associate any of these media streams with sources and outputs on the flow.- 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
-
vpcInterfaces
Sets the value ofCfnFlowProps.getVpcInterfaces()
- Parameters:
vpcInterfaces
- The VPC interfaces that you added to this flow.- Returns:
this
-
vpcInterfaces
Sets the value ofCfnFlowProps.getVpcInterfaces()
- Parameters:
vpcInterfaces
- The VPC interfaces that you added to this flow.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFlowProps>
- Returns:
- a new instance of
CfnFlowProps
- Throws:
NullPointerException
- if any required attribute was not provided
-