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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeCacheParameterGroupsResponse.Builder
cacheParameterGroups(Collection<CacheParameterGroup> cacheParameterGroups)
A list of cache parameter groups.DescribeCacheParameterGroupsResponse.Builder
cacheParameterGroups(Consumer<CacheParameterGroup.Builder>... cacheParameterGroups)
A list of cache parameter groups.DescribeCacheParameterGroupsResponse.Builder
cacheParameterGroups(CacheParameterGroup... cacheParameterGroups)
A list of cache parameter groups.DescribeCacheParameterGroupsResponse.Builder
marker(String marker)
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 Detail
-
marker
DescribeCacheParameterGroupsResponse.Builder marker(String 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 to#cacheParameterGroups(List
.) - 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:
#cacheParameterGroups(java.util.Collection
)
-
-