Struct aws_sdk_elasticache::operation::create_cache_parameter_group::builders::CreateCacheParameterGroupFluentBuilder
source · pub struct CreateCacheParameterGroupFluentBuilder { /* 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 CreateCacheParameterGroupFluentBuilder
impl CreateCacheParameterGroupFluentBuilder
sourcepub fn as_input(&self) -> &CreateCacheParameterGroupInputBuilder
pub fn as_input(&self) -> &CreateCacheParameterGroupInputBuilder
Access the CreateCacheParameterGroup as a reference.
sourcepub async fn send(
self
) -> Result<CreateCacheParameterGroupOutput, SdkError<CreateCacheParameterGroupError, HttpResponse>>
pub async fn send( self ) -> Result<CreateCacheParameterGroupOutput, SdkError<CreateCacheParameterGroupError, HttpResponse>>
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 customize(
self
) -> CustomizableOperation<CreateCacheParameterGroupOutput, CreateCacheParameterGroupError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateCacheParameterGroupOutput, CreateCacheParameterGroupError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 get_cache_parameter_group_name(&self) -> &Option<String>
pub fn get_cache_parameter_group_name(&self) -> &Option<String>
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
| redis7
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
| redis7
sourcepub fn get_cache_parameter_group_family(&self) -> &Option<String>
pub fn get_cache_parameter_group_family(&self) -> &Option<String>
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
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.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
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.
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 CreateCacheParameterGroupFluentBuilder
impl Clone for CreateCacheParameterGroupFluentBuilder
source§fn clone(&self) -> CreateCacheParameterGroupFluentBuilder
fn clone(&self) -> CreateCacheParameterGroupFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more