@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() |
CfnSubnetGroup.Builder |
cacheSubnetGroupName(String cacheSubnetGroupName)
The name for the cache subnet group.
|
static CfnSubnetGroup.Builder |
create(software.constructs.Construct scope,
String id) |
CfnSubnetGroup.Builder |
description(String description)
The description for the cache subnet group.
|
CfnSubnetGroup.Builder |
subnetIds(List<String> subnetIds)
The EC2 subnet IDs for the cache subnet group.
|
CfnSubnetGroup.Builder |
tags(List<? extends CfnTag> tags)
A tag that can be added to an ElastiCache subnet group.
|
@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 description(String description)
description - The description for the cache subnet group. This parameter is required.this@Stability(value=Stable) public CfnSubnetGroup.Builder subnetIds(List<String> subnetIds)
subnetIds - The EC2 subnet IDs for the cache subnet group. This parameter is required.this@Stability(value=Stable) public CfnSubnetGroup.Builder cacheSubnetGroupName(String cacheSubnetGroupName)
Constraints: Must contain no more than 255 alphanumeric characters or hyphens.
Example: mysubnetgroup
cacheSubnetGroupName - The name for the cache subnet group. This value is stored as a lowercase string. This parameter is required.this@Stability(value=Stable) public CfnSubnetGroup.Builder tags(List<? extends CfnTag> tags)
Tags are composed of a Key/Value pair. You can use tags to categorize and track all your subnet groups. A tag with a null Value is permitted.
tags - A tag that can be added to an ElastiCache subnet group. This parameter is required.this@Stability(value=Stable) public CfnSubnetGroup build()
build in interface software.amazon.jsii.Builder<CfnSubnetGroup>Copyright © 2022. All rights reserved.