Class CfnChannel.UdpOutputSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnChannel.UdpOutputSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.UdpOutputSettingsProperty>
- Enclosing interface:
CfnChannel.UdpOutputSettingsProperty
@Stability(Stable)
public static final class CfnChannel.UdpOutputSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.UdpOutputSettingsProperty>
A builder for
CfnChannel.UdpOutputSettingsProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbufferMsec
(Number bufferMsec) Sets the value ofCfnChannel.UdpOutputSettingsProperty.getBufferMsec()
build()
Builds the configured instance.containerSettings
(IResolvable containerSettings) Sets the value ofCfnChannel.UdpOutputSettingsProperty.getContainerSettings()
containerSettings
(CfnChannel.UdpContainerSettingsProperty containerSettings) Sets the value ofCfnChannel.UdpOutputSettingsProperty.getContainerSettings()
destination
(IResolvable destination) Sets the value ofCfnChannel.UdpOutputSettingsProperty.getDestination()
destination
(CfnChannel.OutputLocationRefProperty destination) Sets the value ofCfnChannel.UdpOutputSettingsProperty.getDestination()
fecOutputSettings
(IResolvable fecOutputSettings) Sets the value ofCfnChannel.UdpOutputSettingsProperty.getFecOutputSettings()
fecOutputSettings
(CfnChannel.FecOutputSettingsProperty fecOutputSettings) Sets the value ofCfnChannel.UdpOutputSettingsProperty.getFecOutputSettings()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bufferMsec
@Stability(Stable) public CfnChannel.UdpOutputSettingsProperty.Builder bufferMsec(Number bufferMsec) Sets the value ofCfnChannel.UdpOutputSettingsProperty.getBufferMsec()
- Parameters:
bufferMsec
- The UDP output buffering in milliseconds. Larger values increase latency through the transcoder but simultaneously assist the transcoder in maintaining a constant, low-jitter UDP/RTP output while accommodating clock recovery, input switching, input disruptions, picture reordering, and so on.- Returns:
this
-
containerSettings
@Stability(Stable) public CfnChannel.UdpOutputSettingsProperty.Builder containerSettings(IResolvable containerSettings) Sets the value ofCfnChannel.UdpOutputSettingsProperty.getContainerSettings()
- Parameters:
containerSettings
- The settings for the UDP output.- Returns:
this
-
containerSettings
@Stability(Stable) public CfnChannel.UdpOutputSettingsProperty.Builder containerSettings(CfnChannel.UdpContainerSettingsProperty containerSettings) Sets the value ofCfnChannel.UdpOutputSettingsProperty.getContainerSettings()
- Parameters:
containerSettings
- The settings for the UDP output.- Returns:
this
-
destination
@Stability(Stable) public CfnChannel.UdpOutputSettingsProperty.Builder destination(IResolvable destination) Sets the value ofCfnChannel.UdpOutputSettingsProperty.getDestination()
- Parameters:
destination
- The destination address and port number for RTP or UDP packets. These can be unicast or multicast RTP or UDP (for example, rtp://239.10.10.10:5001 or udp://10.100.100.100:5002).- Returns:
this
-
destination
@Stability(Stable) public CfnChannel.UdpOutputSettingsProperty.Builder destination(CfnChannel.OutputLocationRefProperty destination) Sets the value ofCfnChannel.UdpOutputSettingsProperty.getDestination()
- Parameters:
destination
- The destination address and port number for RTP or UDP packets. These can be unicast or multicast RTP or UDP (for example, rtp://239.10.10.10:5001 or udp://10.100.100.100:5002).- Returns:
this
-
fecOutputSettings
@Stability(Stable) public CfnChannel.UdpOutputSettingsProperty.Builder fecOutputSettings(IResolvable fecOutputSettings) Sets the value ofCfnChannel.UdpOutputSettingsProperty.getFecOutputSettings()
- Parameters:
fecOutputSettings
- The settings for enabling and adjusting Forward Error Correction on UDP outputs.- Returns:
this
-
fecOutputSettings
@Stability(Stable) public CfnChannel.UdpOutputSettingsProperty.Builder fecOutputSettings(CfnChannel.FecOutputSettingsProperty fecOutputSettings) Sets the value ofCfnChannel.UdpOutputSettingsProperty.getFecOutputSettings()
- Parameters:
fecOutputSettings
- The settings for enabling and adjusting Forward Error Correction on UDP outputs.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnChannel.UdpOutputSettingsProperty>
- Returns:
- a new instance of
CfnChannel.UdpOutputSettingsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-