Class CfnInput.InputVpcRequestProperty.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnInput.InputVpcRequestProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInput.InputVpcRequestProperty>
- Enclosing interface:
CfnInput.InputVpcRequestProperty
@Stability(Stable)
public static final class CfnInput.InputVpcRequestProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInput.InputVpcRequestProperty>
A builder for
CfnInput.InputVpcRequestProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.securityGroupIds
(List<String> securityGroupIds) Sets the value ofCfnInput.InputVpcRequestProperty.getSecurityGroupIds()
Sets the value ofCfnInput.InputVpcRequestProperty.getSubnetIds()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
securityGroupIds
@Stability(Stable) public CfnInput.InputVpcRequestProperty.Builder securityGroupIds(List<String> securityGroupIds) Sets the value ofCfnInput.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 CfnInput.InputVpcRequestProperty.Builder subnetIds(List<String> subnetIds) Sets the value ofCfnInput.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:
build
in interfacesoftware.amazon.jsii.Builder<CfnInput.InputVpcRequestProperty>
- Returns:
- a new instance of
CfnInput.InputVpcRequestProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-