Class FlowProps.Builder
java.lang.Object
software.amazon.awscdk.services.mediaconnect.alpha.FlowProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<FlowProps>
- Enclosing interface:
FlowProps
@Stability(Experimental)
public static final class FlowProps.Builder
extends Object
implements software.amazon.jsii.Builder<FlowProps>
A builder for
FlowProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionavailabilityZone(String availabilityZone) Sets the value ofFlowProps.getAvailabilityZone()build()Builds the configured instance.encodingConfig(EncodingConfig encodingConfig) Sets the value ofFlowProps.getEncodingConfig()Sets the value ofFlowProps.getFlowName()Sets the value ofFlowProps.getFlowSize()maintenance(MaintenanceWindow maintenance) Sets the value ofFlowProps.getMaintenance()mediaStreams(List<? extends MediaStream> mediaStreams) Sets the value ofFlowProps.getMediaStreams()Sets the value ofFlowProps.getNdiConfig()source(SourceConfiguration source) Sets the value ofFlowProps.getSource()sourceFailoverConfig(FailoverConfig sourceFailoverConfig) Sets the value ofFlowProps.getSourceFailoverConfig()sourceMonitoringConfig(SourceMonitoringConfig sourceMonitoringConfig) Sets the value ofFlowProps.getSourceMonitoringConfig()vpcInterfaces(List<? extends VpcInterfaceConfig> vpcInterfaces) Sets the value ofFlowProps.getVpcInterfaces()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
source
Sets the value ofFlowProps.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 ofFlowProps.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
-
encodingConfig
Sets the value ofFlowProps.getEncodingConfig()- Parameters:
encodingConfig- Encoding configuration applied to the NDI source when transcoding it to a transport stream for downstream distribution. Required when the flow source uses the NDI SpeedHQ protocol (see).invalid reference
SourceConfiguration.ndi- Returns:
this
-
flowName
Sets the value ofFlowProps.getFlowName()- Parameters:
flowName- The name of the flow.- Returns:
this
-
flowSize
Sets the value ofFlowProps.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 ofFlowProps.getMaintenance()- Parameters:
maintenance- The maintenance window for the flow.- Returns:
this
-
mediaStreams
@Stability(Experimental) public FlowProps.Builder mediaStreams(List<? extends MediaStream> mediaStreams) Sets the value ofFlowProps.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 ofFlowProps.getNdiConfig()- Parameters:
ndiConfig- Specifies the configuration settings for a flow's NDI source or output. Required when the flow includes an NDI source or output.- Returns:
this
-
sourceFailoverConfig
@Stability(Experimental) public FlowProps.Builder sourceFailoverConfig(FailoverConfig sourceFailoverConfig) Sets the value ofFlowProps.getSourceFailoverConfig()- Parameters:
sourceFailoverConfig- The settings for source failover.- Returns:
this
-
sourceMonitoringConfig
@Stability(Experimental) public FlowProps.Builder sourceMonitoringConfig(SourceMonitoringConfig sourceMonitoringConfig) Sets the value ofFlowProps.getSourceMonitoringConfig()- Parameters:
sourceMonitoringConfig- The settings for source monitoring.- Returns:
this
-
vpcInterfaces
@Stability(Experimental) public FlowProps.Builder vpcInterfaces(List<? extends VpcInterfaceConfig> vpcInterfaces) Sets the value ofFlowProps.getVpcInterfaces()- Parameters:
vpcInterfaces- The VPC Interfaces for this flow. Use this instead of the FlowVpcInterface construct.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<FlowProps>- Returns:
- a new instance of
FlowProps - Throws:
NullPointerException- if any required attribute was not provided
-