public static final class CfnSubnetGroup.Builder
extends java.lang.Object
CfnSubnetGroup
.Modifier and Type | Method and Description |
---|---|
CfnSubnetGroup |
build() |
static CfnSubnetGroup.Builder |
create(Construct scope,
java.lang.String id) |
CfnSubnetGroup.Builder |
description(java.lang.String description)
The description of the subnet group.
|
CfnSubnetGroup.Builder |
subnetGroupName(java.lang.String subnetGroupName)
The name of the subnet group.
|
CfnSubnetGroup.Builder |
subnetIds(java.util.List<java.lang.String> subnetIds)
A list of VPC subnet IDs for the subnet group.
|
public static CfnSubnetGroup.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnSubnetGroup.Builder
.public CfnSubnetGroup.Builder subnetIds(java.util.List<java.lang.String> subnetIds)
subnetIds
- A list of VPC subnet IDs for the subnet group. This parameter is required.this
public CfnSubnetGroup.Builder description(java.lang.String description)
description
- The description of the subnet group. This parameter is required.this
public CfnSubnetGroup.Builder subnetGroupName(java.lang.String subnetGroupName)
subnetGroupName
- The name of the subnet group. This parameter is required.this
public CfnSubnetGroup build()