Class CfnChannelPropsMixin.InputLocationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.medialive.CfnChannelPropsMixin.InputLocationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannelPropsMixin.InputLocationProperty>
- Enclosing interface:
CfnChannelPropsMixin.InputLocationProperty
@Stability(Stable)
public static final class CfnChannelPropsMixin.InputLocationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannelPropsMixin.InputLocationProperty>
A builder for
CfnChannelPropsMixin.InputLocationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.passwordParam(String passwordParam) Sets the value ofCfnChannelPropsMixin.InputLocationProperty.getPasswordParam()Sets the value ofCfnChannelPropsMixin.InputLocationProperty.getUri()Sets the value ofCfnChannelPropsMixin.InputLocationProperty.getUsername()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
passwordParam
@Stability(Stable) public CfnChannelPropsMixin.InputLocationProperty.Builder passwordParam(String passwordParam) Sets the value ofCfnChannelPropsMixin.InputLocationProperty.getPasswordParam()- Parameters:
passwordParam- The password parameter that holds the password for accessing the downstream system. This applies only if the downstream system requires credentials.- Returns:
this
-
uri
Sets the value ofCfnChannelPropsMixin.InputLocationProperty.getUri()- Parameters:
uri- The URI should be a path to a file that is accessible to the Live system (for example, an http:// URI) depending on the output type. For example, an RTMP destination should have a URI similar to rtmp://fmsserver/live.- Returns:
this
-
username
@Stability(Stable) public CfnChannelPropsMixin.InputLocationProperty.Builder username(String username) Sets the value ofCfnChannelPropsMixin.InputLocationProperty.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<CfnChannelPropsMixin.InputLocationProperty>- Returns:
- a new instance of
CfnChannelPropsMixin.InputLocationProperty - Throws:
NullPointerException- if any required attribute was not provided
-