Class CfnInputPropsMixin.InputSourceRequestProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.medialive.CfnInputPropsMixin.InputSourceRequestProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInputPropsMixin.InputSourceRequestProperty>
- Enclosing interface:
CfnInputPropsMixin.InputSourceRequestProperty
@Stability(Stable)
public static final class CfnInputPropsMixin.InputSourceRequestProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInputPropsMixin.InputSourceRequestProperty>
A builder for
CfnInputPropsMixin.InputSourceRequestProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.passwordParam(String passwordParam) Sets the value ofCfnInputPropsMixin.InputSourceRequestProperty.getPasswordParam()Sets the value ofCfnInputPropsMixin.InputSourceRequestProperty.getUrl()Sets the value ofCfnInputPropsMixin.InputSourceRequestProperty.getUsername()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
passwordParam
@Stability(Stable) public CfnInputPropsMixin.InputSourceRequestProperty.Builder passwordParam(String passwordParam) Sets the value ofCfnInputPropsMixin.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 ofCfnInputPropsMixin.InputSourceRequestProperty.getUrl()- Parameters:
url- For a pull input, the URL where MediaLive pulls the source content from.- Returns:
this
-
username
@Stability(Stable) public CfnInputPropsMixin.InputSourceRequestProperty.Builder username(String username) Sets the value ofCfnInputPropsMixin.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:
buildin interfacesoftware.amazon.jsii.Builder<CfnInputPropsMixin.InputSourceRequestProperty>- Returns:
- a new instance of
CfnInputPropsMixin.InputSourceRequestProperty - Throws:
NullPointerException- if any required attribute was not provided
-