Class SourceNdi.Builder
java.lang.Object
software.amazon.awscdk.services.mediaconnect.alpha.SourceNdi.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SourceNdi>
- Enclosing interface:
SourceNdi
@Stability(Experimental)
public static final class SourceNdi.Builder
extends Object
implements software.amazon.jsii.Builder<SourceNdi>
A builder for
SourceNdi-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofSourceNdi.getDescription()flowSourceName(String flowSourceName) Sets the value ofSourceNdi.getFlowSourceName()sourceName(String sourceName) Sets the value ofSourceNdi.getSourceName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofSourceNdi.getDescription()- Parameters:
description- A description of the source. This description appears only on the MediaConnect console and will not be seen by the end user.- Returns:
this
-
flowSourceName
Sets the value ofSourceNdi.getFlowSourceName()- Parameters:
flowSourceName- The name of the source.- Returns:
this
-
sourceName
Sets the value ofSourceNdi.getSourceName()- Parameters:
sourceName- The exact name of an existing NDI sender that's registered with your discovery server. If included, the format of this name must beMACHINENAME (ProgramName).If not specified, you can select the upstream NDI sender from the console after starting the flow.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SourceNdi>- Returns:
- a new instance of
SourceNdi - Throws:
NullPointerException- if any required attribute was not provided
-