Class VpcInterfaceFromNetworkInterfacesProps.Builder
java.lang.Object
software.amazon.awscdk.services.mediaconnect.alpha.VpcInterfaceFromNetworkInterfacesProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<VpcInterfaceFromNetworkInterfacesProps>
- Enclosing interface:
VpcInterfaceFromNetworkInterfacesProps
@Stability(Experimental)
public static final class VpcInterfaceFromNetworkInterfacesProps.Builder
extends Object
implements software.amazon.jsii.Builder<VpcInterfaceFromNetworkInterfacesProps>
A builder for
VpcInterfaceFromNetworkInterfacesProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.networkInterfaceIds(List<String> networkInterfaceIds) Sets the value ofVpcInterfaceFromNetworkInterfacesProps.getNetworkInterfaceIds()Sets the value ofVpcInterfaceFromNetworkInterfacesProps.getRole()securityGroups(List<? extends ISecurityGroup> securityGroups) Sets the value ofVpcInterfaceFromNetworkInterfacesProps.getSecurityGroups()Sets the value ofVpcInterfaceFromNetworkInterfacesProps.getSubnet()vpcInterfaceName(String vpcInterfaceName) Sets the value ofVpcInterfaceFromNetworkInterfacesProps.getVpcInterfaceName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
networkInterfaceIds
@Stability(Experimental) public VpcInterfaceFromNetworkInterfacesProps.Builder networkInterfaceIds(List<String> networkInterfaceIds) Sets the value ofVpcInterfaceFromNetworkInterfacesProps.getNetworkInterfaceIds()- Parameters:
networkInterfaceIds- IDs of the pre-created network interfaces to reuse. This parameter is required.- Returns:
this
-
role
Sets the value ofVpcInterfaceFromNetworkInterfacesProps.getRole()- Parameters:
role- IAM role that MediaConnect assumes to access the ENIs. This parameter is required.- Returns:
this
-
securityGroups
@Stability(Experimental) public VpcInterfaceFromNetworkInterfacesProps.Builder securityGroups(List<? extends ISecurityGroup> securityGroups) Sets the value ofVpcInterfaceFromNetworkInterfacesProps.getSecurityGroups()- Parameters:
securityGroups- Security groups applied to the existing ENIs. This parameter is required.- Returns:
this
-
subnet
@Stability(Experimental) public VpcInterfaceFromNetworkInterfacesProps.Builder subnet(ISubnet subnet) Sets the value ofVpcInterfaceFromNetworkInterfacesProps.getSubnet()- Parameters:
subnet- Subnet where the existing ENIs live. This parameter is required. Must be in the same Availability Zone as the flow.- Returns:
this
-
vpcInterfaceName
@Stability(Experimental) public VpcInterfaceFromNetworkInterfacesProps.Builder vpcInterfaceName(String vpcInterfaceName) Sets the value ofVpcInterfaceFromNetworkInterfacesProps.getVpcInterfaceName()- Parameters:
vpcInterfaceName- Unique name for this VPC interface within the flow. This parameter is required. Cannot be changed after creation.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<VpcInterfaceFromNetworkInterfacesProps>- Returns:
- a new instance of
VpcInterfaceFromNetworkInterfacesProps - Throws:
NullPointerException- if any required attribute was not provided
-