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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.elasticache.model.ElastiCacheRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-