Class CfnChannel.InputLocationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnChannel.InputLocationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.InputLocationProperty>
- Enclosing interface:
CfnChannel.InputLocationProperty
@Stability(Stable)
public static final class CfnChannel.InputLocationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.InputLocationProperty>
A builder for
CfnChannel.InputLocationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.passwordParam
(String passwordParam) Sets the value ofCfnChannel.InputLocationProperty.getPasswordParam()
Sets the value ofCfnChannel.InputLocationProperty.getUri()
Sets the value ofCfnChannel.InputLocationProperty.getUsername()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
passwordParam
@Stability(Stable) public CfnChannel.InputLocationProperty.Builder passwordParam(String passwordParam) Sets the value ofCfnChannel.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 ofCfnChannel.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
Sets the value ofCfnChannel.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:
build
in interfacesoftware.amazon.jsii.Builder<CfnChannel.InputLocationProperty>
- Returns:
- a new instance of
CfnChannel.InputLocationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-