Interface DescribeServerlessCacheSnapshotsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeServerlessCacheSnapshotsResponse.Builder,DescribeServerlessCacheSnapshotsResponse>
,ElastiCacheResponse.Builder
,SdkBuilder<DescribeServerlessCacheSnapshotsResponse.Builder,DescribeServerlessCacheSnapshotsResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- DescribeServerlessCacheSnapshotsResponse
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.Builder
nextToken(String nextToken)
An optional marker returned from a prior request to support pagination of results from this operation.DescribeServerlessCacheSnapshotsResponse.Builder
serverlessCacheSnapshots(Collection<ServerlessCacheSnapshot> serverlessCacheSnapshots)
The serverless caches snapshots associated with a given description request.DescribeServerlessCacheSnapshotsResponse.Builder
serverlessCacheSnapshots(Consumer<ServerlessCacheSnapshot.Builder>... serverlessCacheSnapshots)
The serverless caches snapshots associated with a given description request.DescribeServerlessCacheSnapshotsResponse.Builder
serverlessCacheSnapshots(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, 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 Redis 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 Redis 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 Redis only.
- Parameters:
serverlessCacheSnapshots
- The serverless caches snapshots associated with a given description request. Available for Redis 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 Redis only.
- Parameters:
serverlessCacheSnapshots
- The serverless caches snapshots associated with a given description request. Available for Redis 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 Redis only.
This is a convenience method that creates an instance of theServerlessCacheSnapshot.Builder
avoiding the need to create one manually viaServerlessCacheSnapshot.builder()
.When the
Consumer
completes,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
)
-
-