CopyableBuilder<CacheSubnetGroup.Builder,CacheSubnetGroup>
, SdkBuilder<CacheSubnetGroup.Builder,CacheSubnetGroup>
public static interface CacheSubnetGroup.Builder extends CopyableBuilder<CacheSubnetGroup.Builder,CacheSubnetGroup>
Modifier and Type | Method | Description |
---|---|---|
CacheSubnetGroup.Builder |
cacheSubnetGroupDescription(String cacheSubnetGroupDescription) |
The description of the cache subnet group.
|
CacheSubnetGroup.Builder |
cacheSubnetGroupName(String cacheSubnetGroupName) |
The name of the cache subnet group.
|
CacheSubnetGroup.Builder |
subnets(Collection<Subnet> subnets) |
A list of subnets associated with the cache subnet group.
|
CacheSubnetGroup.Builder |
subnets(Subnet... subnets) |
A list of subnets associated with the cache subnet group.
|
CacheSubnetGroup.Builder |
vpcId(String vpcId) |
The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet group.
|
copy
apply, build
CacheSubnetGroup.Builder cacheSubnetGroupName(String cacheSubnetGroupName)
The name of the cache subnet group.
cacheSubnetGroupName
- The name of the cache subnet group.CacheSubnetGroup.Builder cacheSubnetGroupDescription(String cacheSubnetGroupDescription)
The description of the cache subnet group.
cacheSubnetGroupDescription
- The description of the cache subnet group.CacheSubnetGroup.Builder vpcId(String vpcId)
The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet group.
vpcId
- The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet group.CacheSubnetGroup.Builder subnets(Collection<Subnet> subnets)
A list of subnets associated with the cache subnet group.
subnets
- A list of subnets associated with the cache subnet group.CacheSubnetGroup.Builder subnets(Subnet... subnets)
A list of subnets associated with the cache subnet group.
NOTE: This method appends the values to the existing list (if any). Use
#setSubnets(java.util.Collection)
or #withSubnets(java.util.Collection)
if you want to
override the existing values.
subnets
- A list of subnets associated with the cache subnet group.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.