Class CfnInput.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnInput.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInput>
- Enclosing class:
CfnInput
@Stability(Stable)
public static final class CfnInput.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInput>
A fluent builder for
CfnInput
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnInput.Builder
destinations
(List<? extends Object> destinations) Settings that apply only if the input is a push type of input.destinations
(IResolvable destinations) Settings that apply only if the input is a push type of input.inputDevices
(List<? extends Object> inputDevices) Settings that apply only if the input is an Elemental Link input.inputDevices
(IResolvable inputDevices) Settings that apply only if the input is an Elemental Link input.inputNetworkLocation
(String inputNetworkLocation) inputSecurityGroups
(List<String> inputSecurityGroups) The list of input security groups (referenced by IDs) to attach to the input if the input is a push type.mediaConnectFlows
(List<? extends Object> mediaConnectFlows) Settings that apply only if the input is a MediaConnect input.mediaConnectFlows
(IResolvable mediaConnectFlows) Settings that apply only if the input is a MediaConnect input.multicastSettings
(IResolvable multicastSettings) multicastSettings
(CfnInput.MulticastSettingsCreateRequestProperty multicastSettings) A name for the input.The IAM role for MediaLive to assume when creating a MediaConnect input or Amazon VPC input.Settings that apply only if the input is a pull type of input.sources
(IResolvable sources) Settings that apply only if the input is a pull type of input.srtSettings
(IResolvable srtSettings) srtSettings
(CfnInput.SrtSettingsRequestProperty srtSettings) A collection of tags for this input.The type for this input.vpc
(IResolvable vpc) Settings that apply only if the input is an push input where the source is on Amazon VPC.Settings that apply only if the input is an push input where the source is on Amazon VPC.
-
Method Details
-
create
@Stability(Stable) public static CfnInput.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnInput.Builder
.
-
destinations
Settings that apply only if the input is a push type of input.- Parameters:
destinations
- Settings that apply only if the input is a push type of input. This parameter is required.- Returns:
this
- See Also:
-
destinations
Settings that apply only if the input is a push type of input.- Parameters:
destinations
- Settings that apply only if the input is a push type of input. This parameter is required.- Returns:
this
- See Also:
-
inputDevices
Settings that apply only if the input is an Elemental Link input.- Parameters:
inputDevices
- Settings that apply only if the input is an Elemental Link input. This parameter is required.- Returns:
this
- See Also:
-
inputDevices
Settings that apply only if the input is an Elemental Link input.- Parameters:
inputDevices
- Settings that apply only if the input is an Elemental Link input. This parameter is required.- Returns:
this
- See Also:
-
inputNetworkLocation
- Parameters:
inputNetworkLocation
- This parameter is required.- Returns:
this
- See Also:
-
inputSecurityGroups
The list of input security groups (referenced by IDs) to attach to the input if the input is a push type.- Parameters:
inputSecurityGroups
- The list of input security groups (referenced by IDs) to attach to the input if the input is a push type. This parameter is required.- Returns:
this
- See Also:
-
mediaConnectFlows
Settings that apply only if the input is a MediaConnect input.- Parameters:
mediaConnectFlows
- Settings that apply only if the input is a MediaConnect input. This parameter is required.- Returns:
this
- See Also:
-
mediaConnectFlows
@Stability(Stable) public CfnInput.Builder mediaConnectFlows(List<? extends Object> mediaConnectFlows) Settings that apply only if the input is a MediaConnect input.- Parameters:
mediaConnectFlows
- Settings that apply only if the input is a MediaConnect input. This parameter is required.- Returns:
this
- See Also:
-
multicastSettings
- Parameters:
multicastSettings
- This parameter is required.- Returns:
this
- See Also:
-
multicastSettings
@Stability(Stable) public CfnInput.Builder multicastSettings(CfnInput.MulticastSettingsCreateRequestProperty multicastSettings) - Parameters:
multicastSettings
- This parameter is required.- Returns:
this
- See Also:
-
name
A name for the input.- Parameters:
name
- A name for the input. This parameter is required.- Returns:
this
- See Also:
-
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.
- Parameters:
roleArn
- The IAM role for MediaLive to assume when creating a MediaConnect input or Amazon VPC input. This parameter is required.- Returns:
this
- See Also:
-
sources
Settings that apply only if the input is a pull type of input.- Parameters:
sources
- Settings that apply only if the input is a pull type of input. This parameter is required.- Returns:
this
- See Also:
-
sources
Settings that apply only if the input is a pull type of input.- Parameters:
sources
- Settings that apply only if the input is a pull type of input. This parameter is required.- Returns:
this
- See Also:
-
srtSettings
- Parameters:
srtSettings
- This parameter is required.- Returns:
this
- See Also:
-
srtSettings
@Stability(Stable) public CfnInput.Builder srtSettings(CfnInput.SrtSettingsRequestProperty srtSettings) - Parameters:
srtSettings
- This parameter is required.- Returns:
this
- See Also:
-
tags
A collection of tags for this input.Each tag is a key-value pair.
- Parameters:
tags
- A collection of tags for this input. This parameter is required.- Returns:
this
- See Also:
-
type
The type for this input.- Parameters:
type
- The type for this input. This parameter is required.- Returns:
this
- See Also:
-
vpc
Settings that apply only if the input is an push input where the source is on Amazon VPC.- Parameters:
vpc
- Settings that apply only if the input is an push input where the source is on Amazon VPC. This parameter is required.- Returns:
this
- See Also:
-
vpc
Settings that apply only if the input is an push input where the source is on Amazon VPC.- Parameters:
vpc
- Settings that apply only if the input is an push input where the source is on Amazon VPC. This parameter is required.- Returns:
this
- See Also:
-
build
-