Class SourceRtp.Builder
java.lang.Object
software.amazon.awscdk.services.mediaconnect.alpha.SourceRtp.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SourceRtp>
- Enclosing interface:
SourceRtp
@Stability(Experimental)
public static final class SourceRtp.Builder
extends Object
implements software.amazon.jsii.Builder<SourceRtp>
A builder for
SourceRtp-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofSourceBase.getDescription()flowSourceName(String flowSourceName) Sets the value ofSourceBase.getFlowSourceName()maxBitrate(Bitrate maxBitrate) Sets the value ofSourceRtp.getMaxBitrate()network(NetworkConfiguration network) Sets the value ofSourceRtp.getNetwork()Sets the value ofSourceRtp.getPort()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
network
Sets the value ofSourceRtp.getNetwork()- Parameters:
network- Defines networking configuration. This parameter is required.- Returns:
this
-
port
Sets the value ofSourceRtp.getPort()- Parameters:
port- The port that the flow will be listening on for incoming content. This parameter is required.- Returns:
this
-
maxBitrate
Sets the value ofSourceRtp.getMaxBitrate()- Parameters:
maxBitrate- The maximum bitrate for RIST, RTP, and RTP-FEC streams.- Returns:
this
-
description
Sets the value ofSourceBase.getDescription()- Parameters:
description- A description of the source. This description appears only on the MediaConnect console and will not be seen by the end user.- Returns:
this
-
flowSourceName
Sets the value ofSourceBase.getFlowSourceName()- Parameters:
flowSourceName- The name of the source.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SourceRtp>- Returns:
- a new instance of
SourceRtp - Throws:
NullPointerException- if any required attribute was not provided
-