Class CfnInputMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.medialive.CfnInputMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInputMixinProps>
- Enclosing interface:
CfnInputMixinProps
@Stability(Stable)
public static final class CfnInputMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInputMixinProps>
A builder for
CfnInputMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.destinations(List<? extends Object> destinations) Sets the value ofCfnInputMixinProps.getDestinations()destinations(IResolvable destinations) Sets the value ofCfnInputMixinProps.getDestinations()inputDevices(List<? extends Object> inputDevices) Sets the value ofCfnInputMixinProps.getInputDevices()inputDevices(IResolvable inputDevices) Sets the value ofCfnInputMixinProps.getInputDevices()inputNetworkLocation(String inputNetworkLocation) Sets the value ofCfnInputMixinProps.getInputNetworkLocation()inputSecurityGroups(List<String> inputSecurityGroups) Sets the value ofCfnInputMixinProps.getInputSecurityGroups()mediaConnectFlows(List<? extends Object> mediaConnectFlows) Sets the value ofCfnInputMixinProps.getMediaConnectFlows()mediaConnectFlows(IResolvable mediaConnectFlows) Sets the value ofCfnInputMixinProps.getMediaConnectFlows()multicastSettings(CfnInputPropsMixin.MulticastSettingsCreateRequestProperty multicastSettings) Sets the value ofCfnInputMixinProps.getMulticastSettings()multicastSettings(IResolvable multicastSettings) Sets the value ofCfnInputMixinProps.getMulticastSettings()Sets the value ofCfnInputMixinProps.getName()Sets the value ofCfnInputMixinProps.getRoleArn()routerSettings(CfnInputPropsMixin.RouterSettingsProperty routerSettings) Sets the value ofCfnInputMixinProps.getRouterSettings()routerSettings(IResolvable routerSettings) Sets the value ofCfnInputMixinProps.getRouterSettings()sdiSources(List<String> sdiSources) Sets the value ofCfnInputMixinProps.getSdiSources()smpte2110ReceiverGroupSettings(CfnInputPropsMixin.Smpte2110ReceiverGroupSettingsProperty smpte2110ReceiverGroupSettings) Sets the value ofCfnInputMixinProps.getSmpte2110ReceiverGroupSettings()smpte2110ReceiverGroupSettings(IResolvable smpte2110ReceiverGroupSettings) Sets the value ofCfnInputMixinProps.getSmpte2110ReceiverGroupSettings()Sets the value ofCfnInputMixinProps.getSources()sources(IResolvable sources) Sets the value ofCfnInputMixinProps.getSources()srtSettings(CfnInputPropsMixin.SrtSettingsRequestProperty srtSettings) Sets the value ofCfnInputMixinProps.getSrtSettings()srtSettings(IResolvable srtSettings) Sets the value ofCfnInputMixinProps.getSrtSettings()Sets the value ofCfnInputMixinProps.getTags()Sets the value ofCfnInputMixinProps.getType()Sets the value ofCfnInputMixinProps.getVpc()vpc(IResolvable vpc) Sets the value ofCfnInputMixinProps.getVpc()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destinations
Sets the value ofCfnInputMixinProps.getDestinations()- Parameters:
destinations- Settings that apply only if the input is a push type of input.- Returns:
this
-
destinations
@Stability(Stable) public CfnInputMixinProps.Builder destinations(List<? extends Object> destinations) Sets the value ofCfnInputMixinProps.getDestinations()- Parameters:
destinations- Settings that apply only if the input is a push type of input.- Returns:
this
-
inputDevices
Sets the value ofCfnInputMixinProps.getInputDevices()- Parameters:
inputDevices- Settings that apply only if the input is an Elemental Link input.- Returns:
this
-
inputDevices
@Stability(Stable) public CfnInputMixinProps.Builder inputDevices(List<? extends Object> inputDevices) Sets the value ofCfnInputMixinProps.getInputDevices()- Parameters:
inputDevices- Settings that apply only if the input is an Elemental Link input.- Returns:
this
-
inputNetworkLocation
@Stability(Stable) public CfnInputMixinProps.Builder inputNetworkLocation(String inputNetworkLocation) Sets the value ofCfnInputMixinProps.getInputNetworkLocation()- Parameters:
inputNetworkLocation- the value to be set.- Returns:
this
-
inputSecurityGroups
@Stability(Stable) public CfnInputMixinProps.Builder inputSecurityGroups(List<String> inputSecurityGroups) Sets the value ofCfnInputMixinProps.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
@Stability(Stable) public CfnInputMixinProps.Builder mediaConnectFlows(IResolvable mediaConnectFlows) Sets the value ofCfnInputMixinProps.getMediaConnectFlows()- Parameters:
mediaConnectFlows- Settings that apply only if the input is a MediaConnect input.- Returns:
this
-
mediaConnectFlows
@Stability(Stable) public CfnInputMixinProps.Builder mediaConnectFlows(List<? extends Object> mediaConnectFlows) Sets the value ofCfnInputMixinProps.getMediaConnectFlows()- Parameters:
mediaConnectFlows- Settings that apply only if the input is a MediaConnect input.- Returns:
this
-
multicastSettings
@Stability(Stable) public CfnInputMixinProps.Builder multicastSettings(IResolvable multicastSettings) Sets the value ofCfnInputMixinProps.getMulticastSettings()- Parameters:
multicastSettings- the value to be set.- Returns:
this
-
multicastSettings
@Stability(Stable) public CfnInputMixinProps.Builder multicastSettings(CfnInputPropsMixin.MulticastSettingsCreateRequestProperty multicastSettings) Sets the value ofCfnInputMixinProps.getMulticastSettings()- Parameters:
multicastSettings- the value to be set.- Returns:
this
-
name
Sets the value ofCfnInputMixinProps.getName()- Parameters:
name- A name for the input.- Returns:
this
-
roleArn
Sets the value ofCfnInputMixinProps.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
-
routerSettings
Sets the value ofCfnInputMixinProps.getRouterSettings()- Parameters:
routerSettings- the value to be set.- Returns:
this
-
routerSettings
@Stability(Stable) public CfnInputMixinProps.Builder routerSettings(CfnInputPropsMixin.RouterSettingsProperty routerSettings) Sets the value ofCfnInputMixinProps.getRouterSettings()- Parameters:
routerSettings- the value to be set.- Returns:
this
-
sdiSources
Sets the value ofCfnInputMixinProps.getSdiSources()- Parameters:
sdiSources- the value to be set.- Returns:
this
-
smpte2110ReceiverGroupSettings
@Stability(Stable) public CfnInputMixinProps.Builder smpte2110ReceiverGroupSettings(IResolvable smpte2110ReceiverGroupSettings) Sets the value ofCfnInputMixinProps.getSmpte2110ReceiverGroupSettings()- Parameters:
smpte2110ReceiverGroupSettings- the value to be set.- Returns:
this
-
smpte2110ReceiverGroupSettings
@Stability(Stable) public CfnInputMixinProps.Builder smpte2110ReceiverGroupSettings(CfnInputPropsMixin.Smpte2110ReceiverGroupSettingsProperty smpte2110ReceiverGroupSettings) Sets the value ofCfnInputMixinProps.getSmpte2110ReceiverGroupSettings()- Parameters:
smpte2110ReceiverGroupSettings- the value to be set.- Returns:
this
-
sources
Sets the value ofCfnInputMixinProps.getSources()- Parameters:
sources- Settings that apply only if the input is a pull type of input.- Returns:
this
-
sources
Sets the value ofCfnInputMixinProps.getSources()- Parameters:
sources- Settings that apply only if the input is a pull type of input.- Returns:
this
-
srtSettings
Sets the value ofCfnInputMixinProps.getSrtSettings()- Parameters:
srtSettings- the value to be set.- Returns:
this
-
srtSettings
@Stability(Stable) public CfnInputMixinProps.Builder srtSettings(CfnInputPropsMixin.SrtSettingsRequestProperty srtSettings) Sets the value ofCfnInputMixinProps.getSrtSettings()- Parameters:
srtSettings- the value to be set.- Returns:
this
-
tags
Sets the value ofCfnInputMixinProps.getTags()- Parameters:
tags- A collection of tags for this input. Each tag is a key-value pair.- Returns:
this
-
type
Sets the value ofCfnInputMixinProps.getType()- Parameters:
type- The type for this input.- Returns:
this
-
vpc
Sets the value ofCfnInputMixinProps.getVpc()- Parameters:
vpc- Settings that apply only if the input is an push input where the source is on Amazon VPC.- Returns:
this
-
vpc
@Stability(Stable) public CfnInputMixinProps.Builder vpc(CfnInputPropsMixin.InputVpcRequestProperty vpc) Sets the value ofCfnInputMixinProps.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<CfnInputMixinProps>- Returns:
- a new instance of
CfnInputMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-