@Stability(value=Stable) public static final class CfnSubnetGroup.Builder extends Object implements software.amazon.jsii.Builder<CfnSubnetGroup>
CfnSubnetGroup.| Modifier and Type | Method and Description |
|---|---|
CfnSubnetGroup |
build() |
static CfnSubnetGroup.Builder |
create(software.constructs.Construct scope,
String id) |
CfnSubnetGroup.Builder |
description(String description)
A description of the subnet group.
|
CfnSubnetGroup.Builder |
subnetGroupName(String subnetGroupName)
The name of the subnet group to be used for the cluster .
|
CfnSubnetGroup.Builder |
subnetIds(List<String> subnetIds)
A list of Amazon VPC subnet IDs for the subnet group.
|
CfnSubnetGroup.Builder |
tags(List<? extends CfnTag> tags)
An array of key-value pairs to apply to this resource.
|
@Stability(value=Stable) public static CfnSubnetGroup.Builder create(software.constructs.Construct scope, 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.@Stability(value=Stable) public CfnSubnetGroup.Builder subnetGroupName(String subnetGroupName)
subnetGroupName - The name of the subnet group to be used for the cluster . This parameter is required.this@Stability(value=Stable) public CfnSubnetGroup.Builder subnetIds(List<String> subnetIds)
subnetIds - A list of Amazon VPC subnet IDs for the subnet group. This parameter is required.this@Stability(value=Stable) public CfnSubnetGroup.Builder description(String description)
description - A description of the subnet group. This parameter is required.this@Stability(value=Stable) public CfnSubnetGroup.Builder tags(List<? extends CfnTag> tags)
For more information, see Tag .
tags - An array of key-value pairs to apply to this resource. This parameter is required.this@Stability(value=Stable) public CfnSubnetGroup build()
build in interface software.amazon.jsii.Builder<CfnSubnetGroup>Copyright © 2022. All rights reserved.