public static interface CreateCacheParameterGroupRequest.Builder extends ElastiCacheRequest.Builder, SdkPojo, CopyableBuilder<CreateCacheParameterGroupRequest.Builder,CreateCacheParameterGroupRequest>
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
CreateCacheParameterGroupRequest.Builder cacheParameterGroupName(String cacheParameterGroupName)
A user-specified name for the cache parameter group.
cacheParameterGroupName
- A user-specified name for the cache parameter group.CreateCacheParameterGroupRequest.Builder cacheParameterGroupFamily(String cacheParameterGroupFamily)
The name of the cache parameter group family that the cache parameter group can be used with.
Valid values are: memcached1.4
| memcached1.5
| memcached1.6
|
redis2.6
| redis2.8
| redis3.2
| redis4.0
|
redis5.0
| redis6.x
| redis7
cacheParameterGroupFamily
- The name of the cache parameter group family that the cache parameter group can be used with.
Valid values are: memcached1.4
| memcached1.5
| memcached1.6
|
redis2.6
| redis2.8
| redis3.2
| redis4.0
|
redis5.0
| redis6.x
| redis7
CreateCacheParameterGroupRequest.Builder description(String description)
A user-specified description for the cache parameter group.
description
- A user-specified description for the cache parameter group.CreateCacheParameterGroupRequest.Builder tags(Collection<Tag> tags)
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
tags
- A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied
by a tag value, although null is accepted.CreateCacheParameterGroupRequest.Builder tags(Tag... tags)
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
tags
- A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied
by a tag value, although null is accepted.CreateCacheParameterGroupRequest.Builder tags(Consumer<Tag.Builder>... tags)
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one
manually via Tag.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called immediately and its
result is passed to #tags(List
.
tags
- a consumer that will call methods on
Tag.Builder
#tags(java.util.Collection)
CreateCacheParameterGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
CreateCacheParameterGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2023. All rights reserved.