Class CfnInputProps.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnInputProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInputProps>
- Enclosing interface:
CfnInputProps
@Stability(Stable)
public static final class CfnInputProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInputProps>
A builder for
CfnInputProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.destinations(List<? extends Object> destinations) Sets the value ofCfnInputProps.getDestinations()destinations(IResolvable destinations) Sets the value ofCfnInputProps.getDestinations()inputDevices(List<? extends Object> inputDevices) Sets the value ofCfnInputProps.getInputDevices()inputDevices(IResolvable inputDevices) Sets the value ofCfnInputProps.getInputDevices()inputNetworkLocation(String inputNetworkLocation) Sets the value ofCfnInputProps.getInputNetworkLocation()inputSecurityGroups(List<String> inputSecurityGroups) Sets the value ofCfnInputProps.getInputSecurityGroups()mediaConnectFlows(List<? extends Object> mediaConnectFlows) Sets the value ofCfnInputProps.getMediaConnectFlows()mediaConnectFlows(IResolvable mediaConnectFlows) Sets the value ofCfnInputProps.getMediaConnectFlows()multicastSettings(IResolvable multicastSettings) Sets the value ofCfnInputProps.getMulticastSettings()multicastSettings(CfnInput.MulticastSettingsCreateRequestProperty multicastSettings) Sets the value ofCfnInputProps.getMulticastSettings()Sets the value ofCfnInputProps.getName()Sets the value ofCfnInputProps.getRoleArn()sdiSources(List<String> sdiSources) Sets the value ofCfnInputProps.getSdiSources()smpte2110ReceiverGroupSettings(IResolvable smpte2110ReceiverGroupSettings) Sets the value ofCfnInputProps.getSmpte2110ReceiverGroupSettings()smpte2110ReceiverGroupSettings(CfnInput.Smpte2110ReceiverGroupSettingsProperty smpte2110ReceiverGroupSettings) Sets the value ofCfnInputProps.getSmpte2110ReceiverGroupSettings()Sets the value ofCfnInputProps.getSources()sources(IResolvable sources) Sets the value ofCfnInputProps.getSources()srtSettings(IResolvable srtSettings) Sets the value ofCfnInputProps.getSrtSettings()srtSettings(CfnInput.SrtSettingsRequestProperty srtSettings) Sets the value ofCfnInputProps.getSrtSettings()Sets the value ofCfnInputProps.getTags()Sets the value ofCfnInputProps.getType()vpc(IResolvable vpc) Sets the value ofCfnInputProps.getVpc()Sets the value ofCfnInputProps.getVpc()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destinations
Sets the value ofCfnInputProps.getDestinations()- Parameters:
destinations- Settings that apply only if the input is a push type of input.- Returns:
this
-
destinations
Sets the value ofCfnInputProps.getDestinations()- Parameters:
destinations- Settings that apply only if the input is a push type of input.- Returns:
this
-
inputDevices
Sets the value ofCfnInputProps.getInputDevices()- Parameters:
inputDevices- Settings that apply only if the input is an Elemental Link input.- Returns:
this
-
inputDevices
Sets the value ofCfnInputProps.getInputDevices()- Parameters:
inputDevices- Settings that apply only if the input is an Elemental Link input.- Returns:
this
-
inputNetworkLocation
Sets the value ofCfnInputProps.getInputNetworkLocation()- Parameters:
inputNetworkLocation- the value to be set.- Returns:
this
-
inputSecurityGroups
@Stability(Stable) public CfnInputProps.Builder inputSecurityGroups(List<String> inputSecurityGroups) Sets the value ofCfnInputProps.getInputSecurityGroups()- Parameters:
inputSecurityGroups- The list of input security groups (referenced by IDs) to attach to the input if the input is a push type.- Returns:
this
-
mediaConnectFlows
Sets the value ofCfnInputProps.getMediaConnectFlows()- Parameters:
mediaConnectFlows- Settings that apply only if the input is a MediaConnect input.- Returns:
this
-
mediaConnectFlows
@Stability(Stable) public CfnInputProps.Builder mediaConnectFlows(List<? extends Object> mediaConnectFlows) Sets the value ofCfnInputProps.getMediaConnectFlows()- Parameters:
mediaConnectFlows- Settings that apply only if the input is a MediaConnect input.- Returns:
this
-
multicastSettings
Sets the value ofCfnInputProps.getMulticastSettings()- Parameters:
multicastSettings- the value to be set.- Returns:
this
-
multicastSettings
@Stability(Stable) public CfnInputProps.Builder multicastSettings(CfnInput.MulticastSettingsCreateRequestProperty multicastSettings) Sets the value ofCfnInputProps.getMulticastSettings()- Parameters:
multicastSettings- the value to be set.- Returns:
this
-
name
Sets the value ofCfnInputProps.getName()- Parameters:
name- A name for the input.- Returns:
this
-
roleArn
Sets the value ofCfnInputProps.getRoleArn()- Parameters:
roleArn- The IAM role for MediaLive to assume when creating a MediaConnect input or Amazon VPC input. This doesn't apply to other types of inputs. The role is identified by its ARN.- Returns:
this
-
sdiSources
Sets the value ofCfnInputProps.getSdiSources()- Parameters:
sdiSources- the value to be set.- Returns:
this
-
smpte2110ReceiverGroupSettings
@Stability(Stable) public CfnInputProps.Builder smpte2110ReceiverGroupSettings(IResolvable smpte2110ReceiverGroupSettings) Sets the value ofCfnInputProps.getSmpte2110ReceiverGroupSettings()- Parameters:
smpte2110ReceiverGroupSettings- the value to be set.- Returns:
this
-
smpte2110ReceiverGroupSettings
@Stability(Stable) public CfnInputProps.Builder smpte2110ReceiverGroupSettings(CfnInput.Smpte2110ReceiverGroupSettingsProperty smpte2110ReceiverGroupSettings) Sets the value ofCfnInputProps.getSmpte2110ReceiverGroupSettings()- Parameters:
smpte2110ReceiverGroupSettings- the value to be set.- Returns:
this
-
sources
Sets the value ofCfnInputProps.getSources()- Parameters:
sources- Settings that apply only if the input is a pull type of input.- Returns:
this
-
sources
Sets the value ofCfnInputProps.getSources()- Parameters:
sources- Settings that apply only if the input is a pull type of input.- Returns:
this
-
srtSettings
Sets the value ofCfnInputProps.getSrtSettings()- Parameters:
srtSettings- the value to be set.- Returns:
this
-
srtSettings
@Stability(Stable) public CfnInputProps.Builder srtSettings(CfnInput.SrtSettingsRequestProperty srtSettings) Sets the value ofCfnInputProps.getSrtSettings()- Parameters:
srtSettings- the value to be set.- Returns:
this
-
tags
Sets the value ofCfnInputProps.getTags()- Parameters:
tags- A collection of tags for this input. Each tag is a key-value pair.- Returns:
this
-
type
Sets the value ofCfnInputProps.getType()- Parameters:
type- The type for this input.- Returns:
this
-
vpc
Sets the value ofCfnInputProps.getVpc()- Parameters:
vpc- Settings that apply only if the input is an push input where the source is on Amazon VPC.- Returns:
this
-
vpc
Sets the value ofCfnInputProps.getVpc()- Parameters:
vpc- Settings that apply only if the input is an push input where the source is on Amazon VPC.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnInputProps>- Returns:
- a new instance of
CfnInputProps - Throws:
NullPointerException- if any required attribute was not provided
-