Struct aws_sdk_elasticache::operation::create_cache_parameter_group::builders::CreateCacheParameterGroupInputBuilder
source · #[non_exhaustive]pub struct CreateCacheParameterGroupInputBuilder { /* private fields */ }
Expand description
A builder for CreateCacheParameterGroupInput
.
Implementations§
source§impl CreateCacheParameterGroupInputBuilder
impl CreateCacheParameterGroupInputBuilder
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.
This field is required.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.
This field is required.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.
sourcepub fn build(self) -> Result<CreateCacheParameterGroupInput, BuildError>
pub fn build(self) -> Result<CreateCacheParameterGroupInput, BuildError>
Consumes the builder and constructs a CreateCacheParameterGroupInput
.
source§impl CreateCacheParameterGroupInputBuilder
impl CreateCacheParameterGroupInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateCacheParameterGroupOutput, SdkError<CreateCacheParameterGroupError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateCacheParameterGroupOutput, SdkError<CreateCacheParameterGroupError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateCacheParameterGroupInputBuilder
impl Clone for CreateCacheParameterGroupInputBuilder
source§fn clone(&self) -> CreateCacheParameterGroupInputBuilder
fn clone(&self) -> CreateCacheParameterGroupInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateCacheParameterGroupInputBuilder
impl Default for CreateCacheParameterGroupInputBuilder
source§fn default() -> CreateCacheParameterGroupInputBuilder
fn default() -> CreateCacheParameterGroupInputBuilder
source§impl PartialEq for CreateCacheParameterGroupInputBuilder
impl PartialEq for CreateCacheParameterGroupInputBuilder
source§fn eq(&self, other: &CreateCacheParameterGroupInputBuilder) -> bool
fn eq(&self, other: &CreateCacheParameterGroupInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.