Interface DescribeServerlessCacheSnapshotsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeServerlessCacheSnapshotsResponse.Builder,DescribeServerlessCacheSnapshotsResponse>,ElastiCacheResponse.Builder,SdkBuilder<DescribeServerlessCacheSnapshotsResponse.Builder,DescribeServerlessCacheSnapshotsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeServerlessCacheSnapshotsResponse
@Mutable @NotThreadSafe public static interface DescribeServerlessCacheSnapshotsResponse.Builder extends ElastiCacheResponse.Builder, SdkPojo, CopyableBuilder<DescribeServerlessCacheSnapshotsResponse.Builder,DescribeServerlessCacheSnapshotsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeServerlessCacheSnapshotsResponse.BuildernextToken(String nextToken)An optional marker returned from a prior request to support pagination of results from this operation.DescribeServerlessCacheSnapshotsResponse.BuilderserverlessCacheSnapshots(Collection<ServerlessCacheSnapshot> serverlessCacheSnapshots)The serverless caches snapshots associated with a given description request.DescribeServerlessCacheSnapshotsResponse.BuilderserverlessCacheSnapshots(Consumer<ServerlessCacheSnapshot.Builder>... serverlessCacheSnapshots)The serverless caches snapshots associated with a given description request.DescribeServerlessCacheSnapshotsResponse.BuilderserverlessCacheSnapshots(ServerlessCacheSnapshot... serverlessCacheSnapshots)The serverless caches snapshots associated with a given description request.-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
nextToken
DescribeServerlessCacheSnapshotsResponse.Builder nextToken(String 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 to#serverlessCacheSnapshots(List.) - 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:
#serverlessCacheSnapshots(java.util.Collection)
-
-