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
-
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()
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()
Sets the value ofCfnInputProps.getName()
Sets the value ofCfnInputProps.getRoleArn()
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
-
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
-
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
-
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:
build
in interfacesoftware.amazon.jsii.Builder<CfnInputProps>
- Returns:
- a new instance of
CfnInputProps
- Throws:
NullPointerException
- if any required attribute was not provided
-