Class CfnInput.InputSourceRequestProperty.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnInput.InputSourceRequestProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInput.InputSourceRequestProperty>
- Enclosing interface:
CfnInput.InputSourceRequestProperty
@Stability(Stable)
public static final class CfnInput.InputSourceRequestProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInput.InputSourceRequestProperty>
A builder for
CfnInput.InputSourceRequestProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.passwordParam
(String passwordParam) Sets the value ofCfnInput.InputSourceRequestProperty.getPasswordParam()
Sets the value ofCfnInput.InputSourceRequestProperty.getUrl()
Sets the value ofCfnInput.InputSourceRequestProperty.getUsername()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
passwordParam
@Stability(Stable) public CfnInput.InputSourceRequestProperty.Builder passwordParam(String passwordParam) Sets the value ofCfnInput.InputSourceRequestProperty.getPasswordParam()
- Parameters:
passwordParam
- The password parameter that holds the password for accessing the upstream system. The password parameter applies only if the upstream system requires credentials.- Returns:
this
-
url
Sets the value ofCfnInput.InputSourceRequestProperty.getUrl()
- Parameters:
url
- For a pull input, the URL where MediaLive pulls the source content from.- Returns:
this
-
username
Sets the value ofCfnInput.InputSourceRequestProperty.getUsername()
- Parameters:
username
- The user name to connect to the upstream system. The user name applies only if the upstream system requires credentials.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnInput.InputSourceRequestProperty>
- Returns:
- a new instance of
CfnInput.InputSourceRequestProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-