Class CfnChannel.OutputDestinationSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnChannel.OutputDestinationSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.OutputDestinationSettingsProperty>
- Enclosing interface:
- CfnChannel.OutputDestinationSettingsProperty
@Stability(Stable)
public static final class CfnChannel.OutputDestinationSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.OutputDestinationSettingsProperty>
A builder for
CfnChannel.OutputDestinationSettingsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.passwordParam(String passwordParam) Sets the value ofCfnChannel.OutputDestinationSettingsProperty.getPasswordParam()streamName(String streamName) Sets the value ofCfnChannel.OutputDestinationSettingsProperty.getStreamName()Sets the value ofCfnChannel.OutputDestinationSettingsProperty.getUrl()Sets the value ofCfnChannel.OutputDestinationSettingsProperty.getUsername()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
passwordParam
@Stability(Stable) public CfnChannel.OutputDestinationSettingsProperty.Builder passwordParam(String passwordParam) Sets the value ofCfnChannel.OutputDestinationSettingsProperty.getPasswordParam()- Parameters:
passwordParam- The password parameter that holds the password for accessing the downstream system. This password parameter applies only if the downstream system requires credentials.- Returns:
this
-
streamName
@Stability(Stable) public CfnChannel.OutputDestinationSettingsProperty.Builder streamName(String streamName) Sets the value ofCfnChannel.OutputDestinationSettingsProperty.getStreamName()- Parameters:
streamName- The stream name for the content. This applies only to RTMP outputs.- Returns:
this
-
url
Sets the value ofCfnChannel.OutputDestinationSettingsProperty.getUrl()- Parameters:
url- The URL for the destination.- Returns:
this
-
username
@Stability(Stable) public CfnChannel.OutputDestinationSettingsProperty.Builder username(String username) Sets the value ofCfnChannel.OutputDestinationSettingsProperty.getUsername()- Parameters:
username- The user name to connect to the downstream system. This applies only if the downstream system requires credentials.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannel.OutputDestinationSettingsProperty>- Returns:
- a new instance of
CfnChannel.OutputDestinationSettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-