public static interface DescribeCacheSubnetGroupsResponse.Builder extends ElastiCacheResponse.Builder, CopyableBuilder<DescribeCacheSubnetGroupsResponse.Builder,DescribeCacheSubnetGroupsResponse>
Modifier and Type | Method and Description |
---|---|
DescribeCacheSubnetGroupsResponse.Builder |
cacheSubnetGroups(CacheSubnetGroup... cacheSubnetGroups)
A list of cache subnet groups.
|
DescribeCacheSubnetGroupsResponse.Builder |
cacheSubnetGroups(Collection<CacheSubnetGroup> cacheSubnetGroups)
A list of cache subnet groups.
|
DescribeCacheSubnetGroupsResponse.Builder |
cacheSubnetGroups(Consumer<CacheSubnetGroup.Builder>... cacheSubnetGroups)
A list of cache subnet groups.
|
DescribeCacheSubnetGroupsResponse.Builder |
marker(String marker)
Provides an identifier to allow retrieval of paginated results.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
DescribeCacheSubnetGroupsResponse.Builder marker(String marker)
Provides an identifier to allow retrieval of paginated results.
marker
- Provides an identifier to allow retrieval of paginated results.DescribeCacheSubnetGroupsResponse.Builder cacheSubnetGroups(Collection<CacheSubnetGroup> cacheSubnetGroups)
A list of cache subnet groups. Each element in the list contains detailed information about one group.
cacheSubnetGroups
- A list of cache subnet groups. Each element in the list contains detailed information about one group.DescribeCacheSubnetGroupsResponse.Builder cacheSubnetGroups(CacheSubnetGroup... cacheSubnetGroups)
A list of cache subnet groups. Each element in the list contains detailed information about one group.
cacheSubnetGroups
- A list of cache subnet groups. Each element in the list contains detailed information about one group.DescribeCacheSubnetGroupsResponse.Builder cacheSubnetGroups(Consumer<CacheSubnetGroup.Builder>... cacheSubnetGroups)
A list of cache subnet groups. Each element in the list contains detailed information about one 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 #cacheSubnetGroups(List)
.cacheSubnetGroups
- a consumer that will call methods on List.Builder
#cacheSubnetGroups(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.