Class PushInputDestination.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.alpha.PushInputDestination.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<PushInputDestination>
- Enclosing interface:
PushInputDestination
@Stability(Experimental)
public static final class PushInputDestination.Builder
extends Object
implements software.amazon.jsii.Builder<PushInputDestination>
A builder for
PushInputDestination-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.network(INetworkRef network) Sets the value ofPushInputDestination.getNetwork()networkRoutes(List<? extends NetworkRoute> networkRoutes) Sets the value ofPushInputDestination.getNetworkRoutes()staticIpAddress(String staticIpAddress) Sets the value ofPushInputDestination.getStaticIpAddress()streamName(String streamName) Sets the value ofPushInputDestination.getStreamName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
network
Sets the value ofPushInputDestination.getNetwork()- Parameters:
network- The MediaLive Anywhere network this push destination lives on. Required when the input'sinputNetworkLocationisON_PREMISES.- Returns:
this
-
networkRoutes
@Stability(Experimental) public PushInputDestination.Builder networkRoutes(List<? extends NetworkRoute> networkRoutes) Sets the value ofPushInputDestination.getNetworkRoutes()- Parameters:
networkRoutes- The routes to the push destination on the local network. Required for on-premises (ON_PREMISES) push inputs.- Returns:
this
-
staticIpAddress
@Stability(Experimental) public PushInputDestination.Builder staticIpAddress(String staticIpAddress) Sets the value ofPushInputDestination.getStaticIpAddress()- Parameters:
staticIpAddress- A static IP address to assign to the push destination on the local network.- Returns:
this
-
streamName
Sets the value ofPushInputDestination.getStreamName()- Parameters:
streamName- The stream name for RTMP push destinations (application name/instance).- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<PushInputDestination>- Returns:
- a new instance of
PushInputDestination - Throws:
NullPointerException- if any required attribute was not provided
-