Interface DescribeServerlessCacheSnapshotsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeServerlessCacheSnapshotsResponse.Builder,,DescribeServerlessCacheSnapshotsResponse> ElastiCacheResponse.Builder,SdkBuilder<DescribeServerlessCacheSnapshotsResponse.Builder,,DescribeServerlessCacheSnapshotsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeServerlessCacheSnapshotsResponse
-
Method Summary
Modifier and TypeMethodDescriptionAn optional marker returned from a prior request to support pagination of results from this operation.serverlessCacheSnapshots(Collection<ServerlessCacheSnapshot> serverlessCacheSnapshots) The serverless caches snapshots associated with a given description request.serverlessCacheSnapshots(Consumer<ServerlessCacheSnapshot.Builder>... serverlessCacheSnapshots) The serverless caches snapshots associated with a given description request.serverlessCacheSnapshots(ServerlessCacheSnapshot... serverlessCacheSnapshots) The serverless caches snapshots 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, 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 max-results. Available for Valkey, Redis OSS and Serverless Memcached only.
- 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 max-results. Available for Valkey, Redis OSS and Serverless Memcached only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverlessCacheSnapshots
DescribeServerlessCacheSnapshotsResponse.Builder serverlessCacheSnapshots(Collection<ServerlessCacheSnapshot> serverlessCacheSnapshots) The serverless caches snapshots associated with a given description request. Available for Valkey, Redis OSS and Serverless Memcached only.
- Parameters:
serverlessCacheSnapshots- The serverless caches snapshots associated with a given description request. Available for Valkey, Redis OSS and Serverless Memcached only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverlessCacheSnapshots
DescribeServerlessCacheSnapshotsResponse.Builder serverlessCacheSnapshots(ServerlessCacheSnapshot... serverlessCacheSnapshots) The serverless caches snapshots associated with a given description request. Available for Valkey, Redis OSS and Serverless Memcached only.
- Parameters:
serverlessCacheSnapshots- The serverless caches snapshots associated with a given description request. Available for Valkey, Redis OSS and Serverless Memcached only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverlessCacheSnapshots
DescribeServerlessCacheSnapshotsResponse.Builder serverlessCacheSnapshots(Consumer<ServerlessCacheSnapshot.Builder>... serverlessCacheSnapshots) The serverless caches snapshots associated with a given description request. Available for Valkey, Redis OSS and Serverless Memcached only.
This is a convenience method that creates an instance of theServerlessCacheSnapshot.Builderavoiding the need to create one manually viaServerlessCacheSnapshot.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toserverlessCacheSnapshots(List<ServerlessCacheSnapshot>).- Parameters:
serverlessCacheSnapshots- a consumer that will call methods onServerlessCacheSnapshot.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-