Class SourceCdi.Builder
java.lang.Object
software.amazon.awscdk.services.mediaconnect.alpha.SourceCdi.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SourceCdi>
- Enclosing interface:
SourceCdi
@Stability(Experimental)
public static final class SourceCdi.Builder
extends Object
implements software.amazon.jsii.Builder<SourceCdi>
A builder for
SourceCdi-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.flowSourceName(String flowSourceName) Sets the value ofSourceCdi.getFlowSourceName()maxSyncBuffer(Number maxSyncBuffer) Sets the value ofSourceCdi.getMaxSyncBuffer()mediaStreamSourceConfigurations(List<? extends MediaStreamSourceConfigurationCdi> mediaStreamSourceConfigurations) Sets the value ofSourceCdi.getMediaStreamSourceConfigurations()Sets the value ofSourceCdi.getPort()vpcInterface(VpcInterfaceConfig vpcInterface) Sets the value ofSourceCdi.getVpcInterface()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
maxSyncBuffer
Sets the value ofSourceCdi.getMaxSyncBuffer()- Parameters:
maxSyncBuffer- The size of the buffer (in ms) to use to sync incoming source data. This parameter is required. Required by the MediaConnect service for CDI sources.- Returns:
this
-
mediaStreamSourceConfigurations
@Stability(Experimental) public SourceCdi.Builder mediaStreamSourceConfigurations(List<? extends MediaStreamSourceConfigurationCdi> mediaStreamSourceConfigurations) Sets the value ofSourceCdi.getMediaStreamSourceConfigurations()- Parameters:
mediaStreamSourceConfigurations- The media stream that is associated with the source, and the parameters for that association. This parameter is required.- Returns:
this
-
port
Sets the value ofSourceCdi.getPort()- Parameters:
port- The port that the flow will be listening on for incoming content. This parameter is required.- Returns:
this
-
vpcInterface
Sets the value ofSourceCdi.getVpcInterface()- Parameters:
vpcInterface- The VPC interface attachment to use for this bridge source. This parameter is required.- Returns:
this
-
flowSourceName
Sets the value ofSourceCdi.getFlowSourceName()- Parameters:
flowSourceName- The name of the source.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SourceCdi>- Returns:
- a new instance of
SourceCdi - Throws:
NullPointerException- if any required attribute was not provided
-