Class InputProps.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.alpha.InputProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<InputProps>
- Enclosing interface:
InputProps
@Stability(Experimental)
public static final class InputProps.Builder
extends Object
implements software.amazon.jsii.Builder<InputProps>
A builder for
InputProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.input(InputConfiguration input) Sets the value ofInputProps.getInput()Sets the value ofInputProps.getInputName()inputNetworkLocation(InputNetworkLocation inputNetworkLocation) Sets the value ofInputProps.getInputNetworkLocation()Sets the value ofInputProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
input
Sets the value ofInputProps.getInput()- Parameters:
input- Input configuration that defines the input type and source settings. This parameter is required.- Returns:
this
-
inputName
Sets the value ofInputProps.getInputName()- Parameters:
inputName- Input name.- Returns:
this
-
inputNetworkLocation
@Stability(Experimental) public InputProps.Builder inputNetworkLocation(InputNetworkLocation inputNetworkLocation) Sets the value ofInputProps.getInputNetworkLocation()- Parameters:
inputNetworkLocation- The network location of the input — AWS cloud or on-premises (MediaLive Anywhere).- Returns:
this
-
tags
Sets the value ofInputProps.getTags()- Parameters:
tags- Tags to add to the input.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<InputProps>- Returns:
- a new instance of
InputProps - Throws:
NullPointerException- if any required attribute was not provided
-