Interface DescribeServerlessCachesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<DescribeServerlessCachesRequest.Builder,
,DescribeServerlessCachesRequest> ElastiCacheRequest.Builder
,SdkBuilder<DescribeServerlessCachesRequest.Builder,
,DescribeServerlessCachesRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
DescribeServerlessCachesRequest
public static interface DescribeServerlessCachesRequest.Builder
extends ElastiCacheRequest.Builder, SdkPojo, CopyableBuilder<DescribeServerlessCachesRequest.Builder,DescribeServerlessCachesRequest>
-
Method Summary
Modifier and TypeMethodDescriptionmaxResults
(Integer maxResults) The maximum number of records in the response.An optional marker returned from a prior request to support pagination of results from this operation.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.serverlessCacheName
(String serverlessCacheName) The identifier for the serverless cache.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.elasticache.model.ElastiCacheRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
serverlessCacheName
The identifier for the serverless cache. If this parameter is specified, only information about that specific serverless cache is returned. Default: NULL
- Parameters:
serverlessCacheName
- The identifier for the serverless cache. If this parameter is specified, only information about that specific serverless cache is returned. Default: NULL- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of records in the response. If more records exist than the specified max-records value, the next token is included in the response so that remaining results can be retrieved. The default is 50.
- Parameters:
maxResults
- The maximum number of records in the response. If more records exist than the specified max-records value, the next token is included in the response so that remaining results can be retrieved. The default is 50.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
overrideConfiguration
DescribeServerlessCachesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DescribeServerlessCachesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-