pub struct CreateCacheParameterGroup { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateCacheParameterGroup
.
Creates a new Amazon ElastiCache cache parameter group. An ElastiCache cache parameter group is a collection of parameters and their values that are applied to all of the nodes in any cluster or replication group using the CacheParameterGroup.
A newly created CacheParameterGroup is an exact duplicate of the default parameter group for the CacheParameterGroupFamily. To customize the newly created CacheParameterGroup you can change the values of specific parameters. For more information, see:
-
ModifyCacheParameterGroup in the ElastiCache API Reference.
-
Parameters and Parameter Groups in the ElastiCache User Guide.
Implementations§
source§impl CreateCacheParameterGroup
impl CreateCacheParameterGroup
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateCacheParameterGroup, AwsResponseRetryClassifier>, SdkError<CreateCacheParameterGroupError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<CreateCacheParameterGroup, AwsResponseRetryClassifier>, SdkError<CreateCacheParameterGroupError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<CreateCacheParameterGroupOutput, SdkError<CreateCacheParameterGroupError>>
pub async fn send(
self
) -> Result<CreateCacheParameterGroupOutput, SdkError<CreateCacheParameterGroupError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn cache_parameter_group_name(self, input: impl Into<String>) -> Self
pub fn cache_parameter_group_name(self, input: impl Into<String>) -> Self
A user-specified name for the cache parameter group.
sourcepub fn set_cache_parameter_group_name(self, input: Option<String>) -> Self
pub fn set_cache_parameter_group_name(self, input: Option<String>) -> Self
A user-specified name for the cache parameter group.
sourcepub fn cache_parameter_group_family(self, input: impl Into<String>) -> Self
pub fn cache_parameter_group_family(self, input: impl Into<String>) -> Self
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
sourcepub fn set_cache_parameter_group_family(self, input: Option<String>) -> Self
pub fn set_cache_parameter_group_family(self, input: Option<String>) -> Self
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
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A user-specified description for the cache parameter group.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A user-specified description for the cache parameter group.
Appends an item to Tags
.
To override the contents of this collection use set_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.
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.
Trait Implementations§
source§impl Clone for CreateCacheParameterGroup
impl Clone for CreateCacheParameterGroup
source§fn clone(&self) -> CreateCacheParameterGroup
fn clone(&self) -> CreateCacheParameterGroup
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more