Class InputSourceOptions.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.alpha.InputSourceOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<InputSourceOptions>
- Enclosing interface:
InputSourceOptions
@Stability(Experimental)
public static final class InputSourceOptions.Builder
extends Object
implements software.amazon.jsii.Builder<InputSourceOptions>
A builder for
InputSourceOptions-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.password(IStringParameter password) Sets the value ofInputSourceOptions.getPassword()Sets the value ofInputSourceOptions.getUsername()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
password
Sets the value ofInputSourceOptions.getPassword()- Parameters:
password- The SSM parameter that holds the password for accessing the upstream system.- Returns:
this
-
username
Sets the value ofInputSourceOptions.getUsername()- Parameters:
username- The username for accessing the upstream system.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<InputSourceOptions>- Returns:
- a new instance of
InputSourceOptions - Throws:
NullPointerException- if any required attribute was not provided
-