Class Flow.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<Flow>
- Enclosing class:
Flow
Flow.-
Method Summary
Modifier and TypeMethodDescriptionavailabilityZone(String availabilityZone) (experimental) The Availability Zone that you want to create the flow in.build()static Flow.BuilderencodingConfig(EncodingConfig encodingConfig) (experimental) Encoding configuration applied to the NDI source when transcoding it to a transport stream for downstream distribution.(experimental) The name of the flow.(experimental) Determines the processing capacity and feature set of the flow.maintenance(MaintenanceWindow maintenance) (experimental) The maintenance window for the flow.mediaStreams(List<? extends MediaStream> mediaStreams) (experimental) The media streams that are associated with the flow.(experimental) Specifies the configuration settings for a flow's NDI source or output.source(SourceConfiguration source) (experimental) The settings for the source that you want to use for the new flow.sourceFailoverConfig(FailoverConfig sourceFailoverConfig) (experimental) The settings for source failover.sourceMonitoringConfig(SourceMonitoringConfig sourceMonitoringConfig) (experimental) The settings for source monitoring.vpcInterfaces(List<? extends VpcInterfaceConfig> vpcInterfaces) (experimental) The VPC Interfaces for this flow.
-
Method Details
-
create
@Stability(Experimental) public static Flow.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- This parameter is required.id- This parameter is required.- Returns:
- a new instance of
Flow.Builder.
-
source
(experimental) The settings for the source that you want to use for the new flow.- Parameters:
source- The settings for the source that you want to use for the new flow. This parameter is required.- Returns:
this
-
availabilityZone
(experimental) The Availability Zone that you want to create the flow in.These options are limited to the Availability Zones within the current AWS Region.
Default: - chosen by MediaConnect
- Parameters:
availabilityZone- The Availability Zone that you want to create the flow in. This parameter is required.- Returns:
this
-
encodingConfig
(experimental) 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.ndiDefault: - no encoding config; required for NDI sources
- Parameters:
encodingConfig- Encoding configuration applied to the NDI source when transcoding it to a transport stream for downstream distribution. This parameter is required.- Returns:
this
-
flowName
(experimental) The name of the flow.Default: - autogenerated
- Parameters:
flowName- The name of the flow. This parameter is required.- Returns:
this
-
flowSize
(experimental) 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.
Default: - undefined; when omitted, MediaConnect applies FlowSize.MEDIUM at deploy time
- Parameters:
flowSize- Determines the processing capacity and feature set of the flow. This parameter is required.- Returns:
this
-
maintenance
(experimental) The maintenance window for the flow.Default: - chosen by MediaConnect
- Parameters:
maintenance- The maintenance window for the flow. This parameter is required.- Returns:
this
-
mediaStreams
(experimental) 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.
Default: No Media Streams
- Parameters:
mediaStreams- The media streams that are associated with the flow. This parameter is required.- Returns:
this
-
ndiConfig
(experimental) Specifies the configuration settings for a flow's NDI source or output.Required when the flow includes an NDI source or output.
Default: No NDI Configuration applied
- Parameters:
ndiConfig- Specifies the configuration settings for a flow's NDI source or output. This parameter is required.- Returns:
this
-
sourceFailoverConfig
@Stability(Experimental) public Flow.Builder sourceFailoverConfig(FailoverConfig sourceFailoverConfig) (experimental) The settings for source failover.Default: No source failover configuration applied
- Parameters:
sourceFailoverConfig- The settings for source failover. This parameter is required.- Returns:
this
-
sourceMonitoringConfig
@Stability(Experimental) public Flow.Builder sourceMonitoringConfig(SourceMonitoringConfig sourceMonitoringConfig) (experimental) The settings for source monitoring.Default: No source monitoring configuration applied
- Parameters:
sourceMonitoringConfig- The settings for source monitoring. This parameter is required.- Returns:
this
-
vpcInterfaces
@Stability(Experimental) public Flow.Builder vpcInterfaces(List<? extends VpcInterfaceConfig> vpcInterfaces) (experimental) The VPC Interfaces for this flow.Use this instead of the FlowVpcInterface construct.
Default: No VPC Interface configuration applied
- Parameters:
vpcInterfaces- The VPC Interfaces for this flow. This parameter is required.- Returns:
this
-
build
-