Class CfnTestGridProjectPropsMixin.VpcConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.devicefarm.CfnTestGridProjectPropsMixin.VpcConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTestGridProjectPropsMixin.VpcConfigProperty>
- Enclosing interface:
CfnTestGridProjectPropsMixin.VpcConfigProperty
@Stability(Stable)
public static final class CfnTestGridProjectPropsMixin.VpcConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTestGridProjectPropsMixin.VpcConfigProperty>
A builder for
CfnTestGridProjectPropsMixin.VpcConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.securityGroupIds(List<String> securityGroupIds) Sets the value ofCfnTestGridProjectPropsMixin.VpcConfigProperty.getSecurityGroupIds()Sets the value ofCfnTestGridProjectPropsMixin.VpcConfigProperty.getSubnetIds()Sets the value ofCfnTestGridProjectPropsMixin.VpcConfigProperty.getVpcId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
securityGroupIds
@Stability(Stable) public CfnTestGridProjectPropsMixin.VpcConfigProperty.Builder securityGroupIds(List<String> securityGroupIds) Sets the value ofCfnTestGridProjectPropsMixin.VpcConfigProperty.getSecurityGroupIds()- Parameters:
securityGroupIds- A list of VPC security group IDs. A security group allows inbound traffic from network interfaces (and their associated instances) that are assigned to the same security group. See Security groups in the Amazon Virtual Private Cloud user guide .- Returns:
this
-
subnetIds
@Stability(Stable) public CfnTestGridProjectPropsMixin.VpcConfigProperty.Builder subnetIds(List<String> subnetIds) Sets the value ofCfnTestGridProjectPropsMixin.VpcConfigProperty.getSubnetIds()- Parameters:
subnetIds- A list of VPC subnet IDs. A subnet is a range of IP addresses in your VPC. You can launch Amazon resources, such as EC2 instances, into a specific subnet. When you create a subnet, you specify the IPv4 CIDR block for the subnet, which is a subset of the VPC CIDR block. See VPCs and subnets in the Amazon Virtual Private Cloud user guide .- Returns:
this
-
vpcId
@Stability(Stable) public CfnTestGridProjectPropsMixin.VpcConfigProperty.Builder vpcId(String vpcId) Sets the value ofCfnTestGridProjectPropsMixin.VpcConfigProperty.getVpcId()- Parameters:
vpcId- A list of VPC IDs. Each VPC is given a unique ID upon creation.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTestGridProjectPropsMixin.VpcConfigProperty>- Returns:
- a new instance of
CfnTestGridProjectPropsMixin.VpcConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-