Class MediaConnectInputProps.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.alpha.MediaConnectInputProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<MediaConnectInputProps>
- Enclosing interface:
MediaConnectInputProps
@Stability(Experimental)
public static final class MediaConnectInputProps.Builder
extends Object
implements software.amazon.jsii.Builder<MediaConnectInputProps>
A builder for
MediaConnectInputProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofMediaConnectInputProps.getFlows()Sets the value ofMediaConnectInputProps.getRole()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
flows
@Stability(Experimental) public MediaConnectInputProps.Builder flows(List<? extends IFlowRef> flows) Sets the value ofMediaConnectInputProps.getFlows()- Parameters:
flows- The MediaConnect flows to use as sources (one, or two for pipeline redundancy). This parameter is required.- Returns:
this
-
role
Sets the value ofMediaConnectInputProps.getRole()- Parameters:
role- The IAM role MediaLive uses to manage the output it adds to the flow for this input. When omitted, a role is created and granted the required permissions. When you provide a role, no permissions are added — you own all the permissions it needs.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<MediaConnectInputProps>- Returns:
- a new instance of
MediaConnectInputProps - Throws:
NullPointerException- if any required attribute was not provided
-