Class CfnFlowPropsMixin.VpcInterfaceProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.mediaconnect.CfnFlowPropsMixin.VpcInterfaceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlowPropsMixin.VpcInterfaceProperty>
- Enclosing interface:
CfnFlowPropsMixin.VpcInterfaceProperty
@Stability(Stable)
public static final class CfnFlowPropsMixin.VpcInterfaceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlowPropsMixin.VpcInterfaceProperty>
A builder for
CfnFlowPropsMixin.VpcInterfaceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnFlowPropsMixin.VpcInterfaceProperty.getName()networkInterfaceIds(List<String> networkInterfaceIds) Sets the value ofCfnFlowPropsMixin.VpcInterfaceProperty.getNetworkInterfaceIds()networkInterfaceType(String networkInterfaceType) Sets the value ofCfnFlowPropsMixin.VpcInterfaceProperty.getNetworkInterfaceType()Sets the value ofCfnFlowPropsMixin.VpcInterfaceProperty.getRoleArn()securityGroupIds(List<String> securityGroupIds) Sets the value ofCfnFlowPropsMixin.VpcInterfaceProperty.getSecurityGroupIds()Sets the value ofCfnFlowPropsMixin.VpcInterfaceProperty.getSubnetId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnFlowPropsMixin.VpcInterfaceProperty.getName()- Parameters:
name- Immutable and has to be a unique against other VpcInterfaces in this Flow.- Returns:
this
-
networkInterfaceIds
@Stability(Stable) public CfnFlowPropsMixin.VpcInterfaceProperty.Builder networkInterfaceIds(List<String> networkInterfaceIds) Sets the value ofCfnFlowPropsMixin.VpcInterfaceProperty.getNetworkInterfaceIds()- Parameters:
networkInterfaceIds- IDs of the network interfaces created in customer's account by MediaConnect .- Returns:
this
-
networkInterfaceType
@Stability(Stable) public CfnFlowPropsMixin.VpcInterfaceProperty.Builder networkInterfaceType(String networkInterfaceType) Sets the value ofCfnFlowPropsMixin.VpcInterfaceProperty.getNetworkInterfaceType()- Parameters:
networkInterfaceType- The type of network interface.- Returns:
this
-
roleArn
Sets the value ofCfnFlowPropsMixin.VpcInterfaceProperty.getRoleArn()- Parameters:
roleArn- A role Arn MediaConnect can assume to create ENIs in your account.- Returns:
this
-
securityGroupIds
@Stability(Stable) public CfnFlowPropsMixin.VpcInterfaceProperty.Builder securityGroupIds(List<String> securityGroupIds) Sets the value ofCfnFlowPropsMixin.VpcInterfaceProperty.getSecurityGroupIds()- Parameters:
securityGroupIds- Security Group IDs to be used on ENI.- Returns:
this
-
subnetId
Sets the value ofCfnFlowPropsMixin.VpcInterfaceProperty.getSubnetId()- Parameters:
subnetId- Subnet must be in the AZ of the Flow.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFlowPropsMixin.VpcInterfaceProperty>- Returns:
- a new instance of
CfnFlowPropsMixin.VpcInterfaceProperty - Throws:
NullPointerException- if any required attribute was not provided
-