Class CfnFlowMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.mediaconnect.CfnFlowMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlowMixinProps>
- Enclosing interface:
CfnFlowMixinProps
@Stability(Stable)
public static final class CfnFlowMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlowMixinProps>
A builder for
CfnFlowMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionavailabilityZone(String availabilityZone) Sets the value ofCfnFlowMixinProps.getAvailabilityZone()build()Builds the configured instance.Sets the value ofCfnFlowMixinProps.getFlowSize()maintenance(CfnFlowPropsMixin.MaintenanceProperty maintenance) Sets the value ofCfnFlowMixinProps.getMaintenance()maintenance(IResolvable maintenance) Sets the value ofCfnFlowMixinProps.getMaintenance()mediaStreams(List<? extends Object> mediaStreams) Sets the value ofCfnFlowMixinProps.getMediaStreams()mediaStreams(IResolvable mediaStreams) Sets the value ofCfnFlowMixinProps.getMediaStreams()Sets the value ofCfnFlowMixinProps.getName()ndiConfig(CfnFlowPropsMixin.NdiConfigProperty ndiConfig) Sets the value ofCfnFlowMixinProps.getNdiConfig()ndiConfig(IResolvable ndiConfig) Sets the value ofCfnFlowMixinProps.getNdiConfig()Sets the value ofCfnFlowMixinProps.getSource()source(IResolvable source) Sets the value ofCfnFlowMixinProps.getSource()sourceFailoverConfig(CfnFlowPropsMixin.FailoverConfigProperty sourceFailoverConfig) Sets the value ofCfnFlowMixinProps.getSourceFailoverConfig()sourceFailoverConfig(IResolvable sourceFailoverConfig) Sets the value ofCfnFlowMixinProps.getSourceFailoverConfig()sourceMonitoringConfig(CfnFlowPropsMixin.SourceMonitoringConfigProperty sourceMonitoringConfig) Sets the value ofCfnFlowMixinProps.getSourceMonitoringConfig()sourceMonitoringConfig(IResolvable sourceMonitoringConfig) Sets the value ofCfnFlowMixinProps.getSourceMonitoringConfig()vpcInterfaces(List<? extends Object> vpcInterfaces) Sets the value ofCfnFlowMixinProps.getVpcInterfaces()vpcInterfaces(IResolvable vpcInterfaces) Sets the value ofCfnFlowMixinProps.getVpcInterfaces()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
availabilityZone
Sets the value ofCfnFlowMixinProps.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 ofCfnFlowMixinProps.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 ofCfnFlowMixinProps.getMaintenance()- Parameters:
maintenance- The maintenance settings you want to use for the flow.- Returns:
this
-
maintenance
@Stability(Stable) public CfnFlowMixinProps.Builder maintenance(CfnFlowPropsMixin.MaintenanceProperty maintenance) Sets the value ofCfnFlowMixinProps.getMaintenance()- Parameters:
maintenance- The maintenance settings you want to use for the flow.- Returns:
this
-
mediaStreams
Sets the value ofCfnFlowMixinProps.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
@Stability(Stable) public CfnFlowMixinProps.Builder mediaStreams(List<? extends Object> mediaStreams) Sets the value ofCfnFlowMixinProps.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
-
name
Sets the value ofCfnFlowMixinProps.getName()- Parameters:
name- The name of the flow.- Returns:
this
-
ndiConfig
Sets the value ofCfnFlowMixinProps.getNdiConfig()- Parameters:
ndiConfig- Specifies the configuration settings for NDI outputs. Required when the flow includes NDI outputs.- Returns:
this
-
ndiConfig
@Stability(Stable) public CfnFlowMixinProps.Builder ndiConfig(CfnFlowPropsMixin.NdiConfigProperty ndiConfig) Sets the value ofCfnFlowMixinProps.getNdiConfig()- Parameters:
ndiConfig- Specifies the configuration settings for NDI outputs. Required when the flow includes NDI outputs.- Returns:
this
-
source
Sets the value ofCfnFlowMixinProps.getSource()- Parameters:
source- The settings for the source that you want to use for the new flow.- Returns:
this
-
source
Sets the value ofCfnFlowMixinProps.getSource()- Parameters:
source- The settings for the source that you want to use for the new flow.- Returns:
this
-
sourceFailoverConfig
@Stability(Stable) public CfnFlowMixinProps.Builder sourceFailoverConfig(IResolvable sourceFailoverConfig) Sets the value ofCfnFlowMixinProps.getSourceFailoverConfig()- Parameters:
sourceFailoverConfig- The settings for source failover.- Returns:
this
-
sourceFailoverConfig
@Stability(Stable) public CfnFlowMixinProps.Builder sourceFailoverConfig(CfnFlowPropsMixin.FailoverConfigProperty sourceFailoverConfig) Sets the value ofCfnFlowMixinProps.getSourceFailoverConfig()- Parameters:
sourceFailoverConfig- The settings for source failover.- Returns:
this
-
sourceMonitoringConfig
@Stability(Stable) public CfnFlowMixinProps.Builder sourceMonitoringConfig(IResolvable sourceMonitoringConfig) Sets the value ofCfnFlowMixinProps.getSourceMonitoringConfig()- Parameters:
sourceMonitoringConfig- The settings for source monitoring.- Returns:
this
-
sourceMonitoringConfig
@Stability(Stable) public CfnFlowMixinProps.Builder sourceMonitoringConfig(CfnFlowPropsMixin.SourceMonitoringConfigProperty sourceMonitoringConfig) Sets the value ofCfnFlowMixinProps.getSourceMonitoringConfig()- Parameters:
sourceMonitoringConfig- The settings for source monitoring.- Returns:
this
-
vpcInterfaces
Sets the value ofCfnFlowMixinProps.getVpcInterfaces()- Parameters:
vpcInterfaces- The VPC Interfaces for this flow.- Returns:
this
-
vpcInterfaces
@Stability(Stable) public CfnFlowMixinProps.Builder vpcInterfaces(List<? extends Object> vpcInterfaces) Sets the value ofCfnFlowMixinProps.getVpcInterfaces()- Parameters:
vpcInterfaces- The VPC Interfaces for this flow.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFlowMixinProps>- Returns:
- a new instance of
CfnFlowMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-