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.getFlowSize()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()ndiConfig(IResolvable ndiConfig) Sets the value ofCfnFlowProps.getNdiConfig()ndiConfig(CfnFlow.NdiConfigProperty ndiConfig) Sets the value ofCfnFlowProps.getNdiConfig()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()sourceMonitoringConfig(IResolvable sourceMonitoringConfig) Sets the value ofCfnFlowProps.getSourceMonitoringConfig()sourceMonitoringConfig(CfnFlow.SourceMonitoringConfigProperty sourceMonitoringConfig) Sets the value ofCfnFlowProps.getSourceMonitoringConfig()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
-
flowSize
Sets the value ofCfnFlowProps.getFlowSize()- Parameters:
flowSize- Determines the processing capacity and feature set of the flow. Set this optional parameter to LARGE if you want to enable NDI outputs on the flow.- 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 that are associated with the flow. After you associate a media stream with a source, you can also associate it with outputs on the flow.- Returns:
this
-
mediaStreams
Sets the value ofCfnFlowProps.getMediaStreams()- Parameters:
mediaStreams- The media streams that are associated with the flow. After you associate a media stream with a source, you can also associate it with outputs on the flow.- Returns:
this
-
ndiConfig
Sets the value ofCfnFlowProps.getNdiConfig()- Parameters:
ndiConfig- Specifies the configuration settings for NDI outputs. Required when the flow includes NDI outputs.- Returns:
this
-
ndiConfig
Sets the value ofCfnFlowProps.getNdiConfig()- Parameters:
ndiConfig- Specifies the configuration settings for NDI outputs. Required when the flow includes NDI outputs.- 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
-
sourceMonitoringConfig
@Stability(Stable) public CfnFlowProps.Builder sourceMonitoringConfig(IResolvable sourceMonitoringConfig) Sets the value ofCfnFlowProps.getSourceMonitoringConfig()- Parameters:
sourceMonitoringConfig- The settings for source monitoring.- Returns:
this
-
sourceMonitoringConfig
@Stability(Stable) public CfnFlowProps.Builder sourceMonitoringConfig(CfnFlow.SourceMonitoringConfigProperty sourceMonitoringConfig) Sets the value ofCfnFlowProps.getSourceMonitoringConfig()- Parameters:
sourceMonitoringConfig- The settings for source monitoring.- Returns:
this
-
vpcInterfaces
Sets the value ofCfnFlowProps.getVpcInterfaces()- Parameters:
vpcInterfaces- The VPC Interfaces for this flow.- Returns:
this
-
vpcInterfaces
Sets the value ofCfnFlowProps.getVpcInterfaces()- Parameters:
vpcInterfaces- The VPC Interfaces for this flow.- 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
-