Interface DescribeCacheParameterGroupsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeCacheParameterGroupsResponse.Builder,
,DescribeCacheParameterGroupsResponse> ElastiCacheResponse.Builder
,SdkBuilder<DescribeCacheParameterGroupsResponse.Builder,
,DescribeCacheParameterGroupsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeCacheParameterGroupsResponse
public static interface DescribeCacheParameterGroupsResponse.Builder
extends ElastiCacheResponse.Builder, SdkPojo, CopyableBuilder<DescribeCacheParameterGroupsResponse.Builder,DescribeCacheParameterGroupsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncacheParameterGroups
(Collection<CacheParameterGroup> cacheParameterGroups) A list of cache parameter groups.cacheParameterGroups
(Consumer<CacheParameterGroup.Builder>... cacheParameterGroups) A list of cache parameter groups.cacheParameterGroups
(CacheParameterGroup... cacheParameterGroups) A list of cache parameter groups.Provides an identifier to allow retrieval of paginated results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.elasticache.model.ElastiCacheResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods 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.
-
cacheParameterGroups
DescribeCacheParameterGroupsResponse.Builder cacheParameterGroups(Collection<CacheParameterGroup> cacheParameterGroups) A list of cache parameter groups. Each element in the list contains detailed information about one cache parameter group.
- Parameters:
cacheParameterGroups
- A list of cache parameter groups. Each element in the list contains detailed information about one cache parameter group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cacheParameterGroups
DescribeCacheParameterGroupsResponse.Builder cacheParameterGroups(CacheParameterGroup... cacheParameterGroups) A list of cache parameter groups. Each element in the list contains detailed information about one cache parameter group.
- Parameters:
cacheParameterGroups
- A list of cache parameter groups. Each element in the list contains detailed information about one cache parameter group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cacheParameterGroups
DescribeCacheParameterGroupsResponse.Builder cacheParameterGroups(Consumer<CacheParameterGroup.Builder>... cacheParameterGroups) A list of cache parameter groups. Each element in the list contains detailed information about one cache parameter group.
This is a convenience method that creates an instance of theCacheParameterGroup.Builder
avoiding the need to create one manually viaCacheParameterGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocacheParameterGroups(List<CacheParameterGroup>)
.- Parameters:
cacheParameterGroups
- a consumer that will call methods onCacheParameterGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-