Struct aws_sdk_elasticache::operation::create_cache_parameter_group::CreateCacheParameterGroupInput
source · #[non_exhaustive]pub struct CreateCacheParameterGroupInput {
pub cache_parameter_group_name: Option<String>,
pub cache_parameter_group_family: Option<String>,
pub description: Option<String>,
pub tags: Option<Vec<Tag>>,
}
Expand description
Represents the input of a CreateCacheParameterGroup
operation.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.cache_parameter_group_name: Option<String>
A user-specified name for the cache parameter group.
cache_parameter_group_family: 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
description: Option<String>
A user-specified description for the cache parameter group.
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.
Implementations§
source§impl CreateCacheParameterGroupInput
impl CreateCacheParameterGroupInput
sourcepub fn cache_parameter_group_name(&self) -> Option<&str>
pub fn cache_parameter_group_name(&self) -> Option<&str>
A user-specified name for the cache parameter group.
sourcepub fn cache_parameter_group_family(&self) -> Option<&str>
pub fn cache_parameter_group_family(&self) -> Option<&str>
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) -> Option<&str>
pub fn description(&self) -> Option<&str>
A user-specified description for the cache parameter group.
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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
source§impl CreateCacheParameterGroupInput
impl CreateCacheParameterGroupInput
sourcepub fn builder() -> CreateCacheParameterGroupInputBuilder
pub fn builder() -> CreateCacheParameterGroupInputBuilder
Creates a new builder-style object to manufacture CreateCacheParameterGroupInput
.
Trait Implementations§
source§impl Clone for CreateCacheParameterGroupInput
impl Clone for CreateCacheParameterGroupInput
source§fn clone(&self) -> CreateCacheParameterGroupInput
fn clone(&self) -> CreateCacheParameterGroupInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for CreateCacheParameterGroupInput
impl PartialEq for CreateCacheParameterGroupInput
source§fn eq(&self, other: &CreateCacheParameterGroupInput) -> bool
fn eq(&self, other: &CreateCacheParameterGroupInput) -> bool
self
and other
values to be equal, and is used
by ==
.