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