Class CfnInput.InputDestinationRequestProperty.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnInput.InputDestinationRequestProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInput.InputDestinationRequestProperty>
- Enclosing interface:
CfnInput.InputDestinationRequestProperty
@Stability(Stable)
public static final class CfnInput.InputDestinationRequestProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInput.InputDestinationRequestProperty>
A builder for
CfnInput.InputDestinationRequestProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnInput.InputDestinationRequestProperty.getNetwork()networkRoutes(List<? extends Object> networkRoutes) Sets the value ofCfnInput.InputDestinationRequestProperty.getNetworkRoutes()networkRoutes(IResolvable networkRoutes) Sets the value ofCfnInput.InputDestinationRequestProperty.getNetworkRoutes()staticIpAddress(String staticIpAddress) Sets the value ofCfnInput.InputDestinationRequestProperty.getStaticIpAddress()streamName(String streamName) Sets the value ofCfnInput.InputDestinationRequestProperty.getStreamName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
network
Sets the value ofCfnInput.InputDestinationRequestProperty.getNetwork()- Parameters:
network- the value to be set.- Returns:
this
-
networkRoutes
@Stability(Stable) public CfnInput.InputDestinationRequestProperty.Builder networkRoutes(IResolvable networkRoutes) Sets the value ofCfnInput.InputDestinationRequestProperty.getNetworkRoutes()- Parameters:
networkRoutes- the value to be set.- Returns:
this
-
networkRoutes
@Stability(Stable) public CfnInput.InputDestinationRequestProperty.Builder networkRoutes(List<? extends Object> networkRoutes) Sets the value ofCfnInput.InputDestinationRequestProperty.getNetworkRoutes()- Parameters:
networkRoutes- the value to be set.- Returns:
this
-
staticIpAddress
@Stability(Stable) public CfnInput.InputDestinationRequestProperty.Builder staticIpAddress(String staticIpAddress) Sets the value ofCfnInput.InputDestinationRequestProperty.getStaticIpAddress()- Parameters:
staticIpAddress- the value to be set.- Returns:
this
-
streamName
@Stability(Stable) public CfnInput.InputDestinationRequestProperty.Builder streamName(String streamName) Sets the value ofCfnInput.InputDestinationRequestProperty.getStreamName()- Parameters:
streamName- The stream name (application name/application instance) for the location the RTMP source content will be pushed to in MediaLive.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnInput.InputDestinationRequestProperty>- Returns:
- a new instance of
CfnInput.InputDestinationRequestProperty - Throws:
NullPointerException- if any required attribute was not provided
-