@Stability(value=Stable) public static final class CfnSubnetGroupProps.Builder extends Object implements software.amazon.jsii.Builder<CfnSubnetGroupProps>
CfnSubnetGroupProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnSubnetGroupProps |
build()
Builds the configured instance.
|
CfnSubnetGroupProps.Builder |
cacheSubnetGroupName(String cacheSubnetGroupName)
Sets the value of
CfnSubnetGroupProps.getCacheSubnetGroupName() |
CfnSubnetGroupProps.Builder |
description(String description)
Sets the value of
CfnSubnetGroupProps.getDescription() |
CfnSubnetGroupProps.Builder |
subnetIds(List<String> subnetIds)
Sets the value of
CfnSubnetGroupProps.getSubnetIds() |
CfnSubnetGroupProps.Builder |
tags(List<? extends CfnTag> tags)
Sets the value of
CfnSubnetGroupProps.getTags() |
@Stability(value=Stable) public CfnSubnetGroupProps.Builder description(String description)
CfnSubnetGroupProps.getDescription()description - The description for the cache subnet group. This parameter is required.this@Stability(value=Stable) public CfnSubnetGroupProps.Builder subnetIds(List<String> subnetIds)
CfnSubnetGroupProps.getSubnetIds()subnetIds - The EC2 subnet IDs for the cache subnet group. This parameter is required.this@Stability(value=Stable) public CfnSubnetGroupProps.Builder cacheSubnetGroupName(String cacheSubnetGroupName)
CfnSubnetGroupProps.getCacheSubnetGroupName()cacheSubnetGroupName - The name for the cache subnet group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 alphanumeric characters or hyphens.
Example: mysubnetgroup
this@Stability(value=Stable) public CfnSubnetGroupProps.Builder tags(List<? extends CfnTag> tags)
CfnSubnetGroupProps.getTags()tags - A tag that can be added to an ElastiCache subnet group.
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.this@Stability(value=Stable) public CfnSubnetGroupProps build()
build in interface software.amazon.jsii.Builder<CfnSubnetGroupProps>CfnSubnetGroupPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.