Interface DescribeCacheSubnetGroupsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeCacheSubnetGroupsResponse.Builder,,DescribeCacheSubnetGroupsResponse> ElastiCacheResponse.Builder,SdkBuilder<DescribeCacheSubnetGroupsResponse.Builder,,DescribeCacheSubnetGroupsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeCacheSubnetGroupsResponse
public static interface DescribeCacheSubnetGroupsResponse.Builder
extends ElastiCacheResponse.Builder, SdkPojo, CopyableBuilder<DescribeCacheSubnetGroupsResponse.Builder,DescribeCacheSubnetGroupsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncacheSubnetGroups(Collection<CacheSubnetGroup> cacheSubnetGroups) A list of cache subnet groups.cacheSubnetGroups(Consumer<CacheSubnetGroup.Builder>... cacheSubnetGroups) A list of cache subnet groups.cacheSubnetGroups(CacheSubnetGroup... cacheSubnetGroups) A list of cache subnet groups.Provides an identifier to allow retrieval of paginated results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.elasticache.model.ElastiCacheResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
marker
Provides an identifier to allow retrieval of paginated results.
- Parameters:
marker- Provides an identifier to allow retrieval of paginated results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cacheSubnetGroups
DescribeCacheSubnetGroupsResponse.Builder cacheSubnetGroups(Collection<CacheSubnetGroup> cacheSubnetGroups) A list of cache subnet groups. Each element in the list contains detailed information about one group.
- Parameters:
cacheSubnetGroups- A list of cache subnet groups. Each element in the list contains detailed information about one group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cacheSubnetGroups
A list of cache subnet groups. Each element in the list contains detailed information about one group.
- Parameters:
cacheSubnetGroups- A list of cache subnet groups. Each element in the list contains detailed information about one group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cacheSubnetGroups
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 method that creates an instance of theCacheSubnetGroup.Builderavoiding the need to create one manually viaCacheSubnetGroup.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocacheSubnetGroups(List<CacheSubnetGroup>).- Parameters:
cacheSubnetGroups- a consumer that will call methods onCacheSubnetGroup.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-