Class CfnInputPropsMixin.InputVpcRequestProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.medialive.mixins.CfnInputPropsMixin.InputVpcRequestProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInputPropsMixin.InputVpcRequestProperty>
- Enclosing interface:
CfnInputPropsMixin.InputVpcRequestProperty
@Stability(Stable)
public static final class CfnInputPropsMixin.InputVpcRequestProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInputPropsMixin.InputVpcRequestProperty>
A builder for
CfnInputPropsMixin.InputVpcRequestProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.securityGroupIds(List<String> securityGroupIds) Sets the value ofCfnInputPropsMixin.InputVpcRequestProperty.getSecurityGroupIds()Sets the value ofCfnInputPropsMixin.InputVpcRequestProperty.getSubnetIds()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
securityGroupIds
@Stability(Stable) public CfnInputPropsMixin.InputVpcRequestProperty.Builder securityGroupIds(List<String> securityGroupIds) Sets the value ofCfnInputPropsMixin.InputVpcRequestProperty.getSecurityGroupIds()- Parameters:
securityGroupIds- The list of up to five VPC security group IDs to attach to the input VPC network interfaces. The security groups require subnet IDs. If none are specified, MediaLive uses the VPC default security group.- Returns:
this
-
subnetIds
@Stability(Stable) public CfnInputPropsMixin.InputVpcRequestProperty.Builder subnetIds(List<String> subnetIds) Sets the value ofCfnInputPropsMixin.InputVpcRequestProperty.getSubnetIds()- Parameters:
subnetIds- The list of two VPC subnet IDs from the same VPC. You must associate subnet IDs to two unique Availability Zones.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnInputPropsMixin.InputVpcRequestProperty>- Returns:
- a new instance of
CfnInputPropsMixin.InputVpcRequestProperty - Throws:
NullPointerException- if any required attribute was not provided
-