public static interface CacheSubnetGroup.Builder extends CopyableBuilder<CacheSubnetGroup.Builder,CacheSubnetGroup>
| Modifier and Type | Method and 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(Consumer<Subnet.Builder>... 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.
|
copyapply, buildCacheSubnetGroup.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.
subnets - A list of subnets associated with the cache subnet group.CacheSubnetGroup.Builder subnets(Consumer<Subnet.Builder>... subnets)
A list of subnets associated with the cache subnet group.
This is a convenience that creates an instance of theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #subnets(List) .subnets - a consumer that will call methods on List.Builder #subnets(List) Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.