Interface ModifyServerlessCacheRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ModifyServerlessCacheRequest.Builder,ModifyServerlessCacheRequest>
,ElastiCacheRequest.Builder
,SdkBuilder<ModifyServerlessCacheRequest.Builder,ModifyServerlessCacheRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- ModifyServerlessCacheRequest
public static interface ModifyServerlessCacheRequest.Builder extends ElastiCacheRequest.Builder, SdkPojo, CopyableBuilder<ModifyServerlessCacheRequest.Builder,ModifyServerlessCacheRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ModifyServerlessCacheRequest.Builder
cacheUsageLimits(Consumer<CacheUsageLimits.Builder> cacheUsageLimits)
Modify the cache usage limit for the serverless cache.ModifyServerlessCacheRequest.Builder
cacheUsageLimits(CacheUsageLimits cacheUsageLimits)
Modify the cache usage limit for the serverless cache.ModifyServerlessCacheRequest.Builder
dailySnapshotTime(String dailySnapshotTime)
The daily time during which Elasticache begins taking a daily snapshot of the serverless cache.ModifyServerlessCacheRequest.Builder
description(String description)
User provided description for the serverless cache.ModifyServerlessCacheRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
ModifyServerlessCacheRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
ModifyServerlessCacheRequest.Builder
removeUserGroup(Boolean removeUserGroup)
The identifier of the UserGroup to be removed from association with the Redis serverless cache.ModifyServerlessCacheRequest.Builder
securityGroupIds(String... securityGroupIds)
The new list of VPC security groups to be associated with the serverless cache.ModifyServerlessCacheRequest.Builder
securityGroupIds(Collection<String> securityGroupIds)
The new list of VPC security groups to be associated with the serverless cache.ModifyServerlessCacheRequest.Builder
serverlessCacheName(String serverlessCacheName)
User-provided identifier for the serverless cache to be modified.ModifyServerlessCacheRequest.Builder
snapshotRetentionLimit(Integer snapshotRetentionLimit)
The number of days for which Elasticache retains automatic snapshots before deleting them.ModifyServerlessCacheRequest.Builder
userGroupId(String userGroupId)
The identifier of the UserGroup to be associated with 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 Detail
-
serverlessCacheName
ModifyServerlessCacheRequest.Builder serverlessCacheName(String serverlessCacheName)
User-provided identifier for the serverless cache to be modified.
- Parameters:
serverlessCacheName
- User-provided identifier for the serverless cache to be modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
ModifyServerlessCacheRequest.Builder description(String description)
User provided description for the serverless cache. Default = NULL, i.e. the existing description is not removed/modified. The description has a maximum length of 255 characters.
- Parameters:
description
- User provided description for the serverless cache. Default = NULL, i.e. the existing description is not removed/modified. The description has a maximum length of 255 characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cacheUsageLimits
ModifyServerlessCacheRequest.Builder cacheUsageLimits(CacheUsageLimits cacheUsageLimits)
Modify the cache usage limit for the serverless cache.
- Parameters:
cacheUsageLimits
- Modify the cache usage limit for the serverless cache.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cacheUsageLimits
default ModifyServerlessCacheRequest.Builder cacheUsageLimits(Consumer<CacheUsageLimits.Builder> cacheUsageLimits)
Modify the cache usage limit for the serverless cache.
This is a convenience method that creates an instance of theCacheUsageLimits.Builder
avoiding the need to create one manually viaCacheUsageLimits.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocacheUsageLimits(CacheUsageLimits)
.- Parameters:
cacheUsageLimits
- a consumer that will call methods onCacheUsageLimits.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
cacheUsageLimits(CacheUsageLimits)
-
removeUserGroup
ModifyServerlessCacheRequest.Builder removeUserGroup(Boolean removeUserGroup)
The identifier of the UserGroup to be removed from association with the Redis serverless cache. Available for Redis only. Default is NULL.
- Parameters:
removeUserGroup
- The identifier of the UserGroup to be removed from association with the Redis serverless cache. Available for Redis only. Default is NULL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userGroupId
ModifyServerlessCacheRequest.Builder userGroupId(String userGroupId)
The identifier of the UserGroup to be associated with the serverless cache. Available for Redis only. Default is NULL - the existing UserGroup is not removed.
- Parameters:
userGroupId
- The identifier of the UserGroup to be associated with the serverless cache. Available for Redis only. Default is NULL - the existing UserGroup is not removed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroupIds
ModifyServerlessCacheRequest.Builder securityGroupIds(Collection<String> securityGroupIds)
The new list of VPC security groups to be associated with the serverless cache. Populating this list means the current VPC security groups will be removed. This security group is used to authorize traffic access for the VPC end-point (private-link). Default = NULL - the existing list of VPC security groups is not removed.
- Parameters:
securityGroupIds
- The new list of VPC security groups to be associated with the serverless cache. Populating this list means the current VPC security groups will be removed. This security group is used to authorize traffic access for the VPC end-point (private-link). Default = NULL - the existing list of VPC security groups is not removed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroupIds
ModifyServerlessCacheRequest.Builder securityGroupIds(String... securityGroupIds)
The new list of VPC security groups to be associated with the serverless cache. Populating this list means the current VPC security groups will be removed. This security group is used to authorize traffic access for the VPC end-point (private-link). Default = NULL - the existing list of VPC security groups is not removed.
- Parameters:
securityGroupIds
- The new list of VPC security groups to be associated with the serverless cache. Populating this list means the current VPC security groups will be removed. This security group is used to authorize traffic access for the VPC end-point (private-link). Default = NULL - the existing list of VPC security groups is not removed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotRetentionLimit
ModifyServerlessCacheRequest.Builder snapshotRetentionLimit(Integer snapshotRetentionLimit)
The number of days for which Elasticache retains automatic snapshots before deleting them. Available for Redis only. Default = NULL, i.e. the existing snapshot-retention-limit will not be removed or modified. The maximum value allowed is 35 days.
- Parameters:
snapshotRetentionLimit
- The number of days for which Elasticache retains automatic snapshots before deleting them. Available for Redis only. Default = NULL, i.e. the existing snapshot-retention-limit will not be removed or modified. The maximum value allowed is 35 days.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dailySnapshotTime
ModifyServerlessCacheRequest.Builder dailySnapshotTime(String dailySnapshotTime)
The daily time during which Elasticache begins taking a daily snapshot of the serverless cache. Available for Redis only. The default is NULL, i.e. the existing snapshot time configured for the cluster is not removed.
- Parameters:
dailySnapshotTime
- The daily time during which Elasticache begins taking a daily snapshot of the serverless cache. Available for Redis only. The default is NULL, i.e. the existing snapshot time configured for the cluster is not removed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ModifyServerlessCacheRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
ModifyServerlessCacheRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-