Package software.amazon.awscdk.cxapi
Class VpcSubnetGroup.Builder
java.lang.Object
software.amazon.awscdk.cxapi.VpcSubnetGroup.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<VpcSubnetGroup>
- Enclosing interface:
VpcSubnetGroup
@Stability(Deprecated)
@Deprecated
public static final class VpcSubnetGroup.Builder
extends Object
implements software.amazon.jsii.Builder<VpcSubnetGroup>
Deprecated.
A builder for
VpcSubnetGroup-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Deprecated.Deprecated.Deprecated.type(VpcSubnetGroupType type) Deprecated.
-
Constructor Details
-
Builder
public Builder()Deprecated.
-
-
Method Details
-
name
Deprecated.Sets the value ofVpcSubnetGroup.getName()- Parameters:
name- The name of the subnet group, determined by looking at the tags of of the subnets that belong to it. This parameter is required.- Returns:
this
-
subnets
@Stability(Deprecated) @Deprecated public VpcSubnetGroup.Builder subnets(List<? extends VpcSubnet> subnets) Deprecated.Sets the value ofVpcSubnetGroup.getSubnets()- Parameters:
subnets- The subnets that are part of this group. This parameter is required. There is no condition that the subnets have to be symmetric in the group.- Returns:
this
-
type
Deprecated.Sets the value ofVpcSubnetGroup.getType()- Parameters:
type- The type of the subnet group. This parameter is required.- Returns:
this
-
build
Deprecated.Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<VpcSubnetGroup>- Returns:
- a new instance of
VpcSubnetGroup - Throws:
NullPointerException- if any required attribute was not provided
-