Class CfnChannel.SrtOutputSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnChannel.SrtOutputSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.SrtOutputSettingsProperty>
- Enclosing interface:
CfnChannel.SrtOutputSettingsProperty
@Stability(Stable)
public static final class CfnChannel.SrtOutputSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.SrtOutputSettingsProperty>
A builder for
CfnChannel.SrtOutputSettingsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbufferMsec(Number bufferMsec) Sets the value ofCfnChannel.SrtOutputSettingsProperty.getBufferMsec()build()Builds the configured instance.containerSettings(IResolvable containerSettings) Sets the value ofCfnChannel.SrtOutputSettingsProperty.getContainerSettings()containerSettings(CfnChannel.UdpContainerSettingsProperty containerSettings) Sets the value ofCfnChannel.SrtOutputSettingsProperty.getContainerSettings()destination(IResolvable destination) Sets the value ofCfnChannel.SrtOutputSettingsProperty.getDestination()destination(CfnChannel.OutputLocationRefProperty destination) Sets the value ofCfnChannel.SrtOutputSettingsProperty.getDestination()encryptionType(String encryptionType) Sets the value ofCfnChannel.SrtOutputSettingsProperty.getEncryptionType()Sets the value ofCfnChannel.SrtOutputSettingsProperty.getLatency()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bufferMsec
@Stability(Stable) public CfnChannel.SrtOutputSettingsProperty.Builder bufferMsec(Number bufferMsec) Sets the value ofCfnChannel.SrtOutputSettingsProperty.getBufferMsec()- Parameters:
bufferMsec- the value to be set.- Returns:
this
-
containerSettings
@Stability(Stable) public CfnChannel.SrtOutputSettingsProperty.Builder containerSettings(IResolvable containerSettings) Sets the value ofCfnChannel.SrtOutputSettingsProperty.getContainerSettings()- Parameters:
containerSettings- the value to be set.- Returns:
this
-
containerSettings
@Stability(Stable) public CfnChannel.SrtOutputSettingsProperty.Builder containerSettings(CfnChannel.UdpContainerSettingsProperty containerSettings) Sets the value ofCfnChannel.SrtOutputSettingsProperty.getContainerSettings()- Parameters:
containerSettings- the value to be set.- Returns:
this
-
destination
@Stability(Stable) public CfnChannel.SrtOutputSettingsProperty.Builder destination(IResolvable destination) Sets the value ofCfnChannel.SrtOutputSettingsProperty.getDestination()- Parameters:
destination- the value to be set.- Returns:
this
-
destination
@Stability(Stable) public CfnChannel.SrtOutputSettingsProperty.Builder destination(CfnChannel.OutputLocationRefProperty destination) Sets the value ofCfnChannel.SrtOutputSettingsProperty.getDestination()- Parameters:
destination- the value to be set.- Returns:
this
-
encryptionType
@Stability(Stable) public CfnChannel.SrtOutputSettingsProperty.Builder encryptionType(String encryptionType) Sets the value ofCfnChannel.SrtOutputSettingsProperty.getEncryptionType()- Parameters:
encryptionType- the value to be set.- Returns:
this
-
latency
Sets the value ofCfnChannel.SrtOutputSettingsProperty.getLatency()- Parameters:
latency- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannel.SrtOutputSettingsProperty>- Returns:
- a new instance of
CfnChannel.SrtOutputSettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-