Class RouterInputEndpoint.Builder
java.lang.Object
software.amazon.awscdk.services.mediaconnect.alpha.RouterInputEndpoint.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<RouterInputEndpoint>
- Enclosing interface:
RouterInputEndpoint
@Stability(Experimental)
public static final class RouterInputEndpoint.Builder
extends Object
implements software.amazon.jsii.Builder<RouterInputEndpoint>
A builder for
RouterInputEndpoint-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofRouterInputEndpoint.getPort()Sets the value ofRouterInputEndpoint.getUrl()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
port
Sets the value ofRouterInputEndpoint.getPort()- Parameters:
port- The listening port at which the router input accepts upstream content. This parameter is required.- Returns:
this
-
url
Sets the value ofRouterInputEndpoint.getUrl()- Parameters:
url- The full ingest URL combining protocol scheme, IP, and port. This parameter is required. For example:srt://203.0.113.10:5000orrtp://203.0.113.10:5001.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<RouterInputEndpoint>- Returns:
- a new instance of
RouterInputEndpoint - Throws:
NullPointerException- if any required attribute was not provided
-