Interface DescribeServerlessCachesResponse.Builder
- All Superinterfaces:
 AwsResponse.Builder,Buildable,CopyableBuilder<DescribeServerlessCachesResponse.Builder,,DescribeServerlessCachesResponse> ElastiCacheResponse.Builder,SdkBuilder<DescribeServerlessCachesResponse.Builder,,DescribeServerlessCachesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
 DescribeServerlessCachesResponse
public static interface DescribeServerlessCachesResponse.Builder
extends ElastiCacheResponse.Builder, SdkPojo, CopyableBuilder<DescribeServerlessCachesResponse.Builder,DescribeServerlessCachesResponse> 
- 
Method Summary
Modifier and TypeMethodDescriptionAn optional marker returned from a prior request to support pagination of results from this operation.serverlessCaches(Collection<ServerlessCache> serverlessCaches) The serverless caches associated with a given description request.serverlessCaches(Consumer<ServerlessCache.Builder>... serverlessCaches) The serverless caches associated with a given description request.serverlessCaches(ServerlessCache... serverlessCaches) The serverless caches associated with a given description request.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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse 
- 
Method Details
- 
nextToken
An optional marker returned from a prior request to support pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxResults.
- Parameters:
 nextToken- An optional marker returned from a prior request to support pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxResults.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
serverlessCaches
DescribeServerlessCachesResponse.Builder serverlessCaches(Collection<ServerlessCache> serverlessCaches) The serverless caches associated with a given description request.
- Parameters:
 serverlessCaches- The serverless caches associated with a given description request.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
serverlessCaches
The serverless caches associated with a given description request.
- Parameters:
 serverlessCaches- The serverless caches associated with a given description request.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
serverlessCaches
DescribeServerlessCachesResponse.Builder serverlessCaches(Consumer<ServerlessCache.Builder>... serverlessCaches) The serverless caches associated with a given description request.
This is a convenience method that creates an instance of theServerlessCache.Builderavoiding the need to create one manually viaServerlessCache.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toserverlessCaches(List<ServerlessCache>).- Parameters:
 serverlessCaches- a consumer that will call methods onServerlessCache.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -