Class PushInputProps.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.alpha.PushInputProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<PushInputProps>
- Enclosing interface:
PushInputProps
@Stability(Experimental)
public static final class PushInputProps.Builder
extends Object
implements software.amazon.jsii.Builder<PushInputProps>
A builder for
PushInputProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.destinations(List<? extends PushInputDestination> destinations) Sets the value ofPushInputProps.getDestinations()inputSecurityGroups(List<? extends IInputSecurityGroupRef> inputSecurityGroups) Sets the value ofPushInputProps.getInputSecurityGroups()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destinations
@Stability(Experimental) public PushInputProps.Builder destinations(List<? extends PushInputDestination> destinations) Sets the value ofPushInputProps.getDestinations()- Parameters:
destinations- The destinations for push inputs. For RTMP push, each destination can have a stream name.- Returns:
this
-
inputSecurityGroups
@Stability(Experimental) public PushInputProps.Builder inputSecurityGroups(List<? extends IInputSecurityGroupRef> inputSecurityGroups) Sets the value ofPushInputProps.getInputSecurityGroups()- Parameters:
inputSecurityGroups- The input security groups that control which CIDR blocks can push to this input. Required for cloud inputs; must be omitted for on-premises inputs (InputNetworkLocation.ON_PREMISES), which do not support security groups.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<PushInputProps>- Returns:
- a new instance of
PushInputProps - Throws:
NullPointerException- if any required attribute was not provided
-