Class OutputDestinationOptions.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.alpha.OutputDestinationOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<OutputDestinationOptions>
- Enclosing interface:
OutputDestinationOptions
@Stability(Experimental)
public static final class OutputDestinationOptions.Builder
extends Object
implements software.amazon.jsii.Builder<OutputDestinationOptions>
A builder for
OutputDestinationOptions-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.password(IStringParameter password) Sets the value ofOutputDestinationOptions.getPassword()Sets the value ofOutputDestinationOptions.getUsername()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
password
@Stability(Experimental) public OutputDestinationOptions.Builder password(IStringParameter password) Sets the value ofOutputDestinationOptions.getPassword()- Parameters:
password- An SSM String Parameter holding the password for accessing the downstream system. MediaLive reads it from Parameter Store at channel runtime, so the channel role is granted read access.- Returns:
this
-
username
Sets the value ofOutputDestinationOptions.getUsername()- Parameters:
username- The username for accessing the downstream system.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<OutputDestinationOptions>- Returns:
- a new instance of
OutputDestinationOptions - Throws:
NullPointerException- if any required attribute was not provided
-