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 ==
.impl StructuralPartialEq for CreateCacheParameterGroupInputBuilder
Auto Trait Implementations§
impl Freeze for CreateCacheParameterGroupInputBuilder
impl RefUnwindSafe for CreateCacheParameterGroupInputBuilder
impl Send for CreateCacheParameterGroupInputBuilder
impl Sync for CreateCacheParameterGroupInputBuilder
impl Unpin for CreateCacheParameterGroupInputBuilder
impl UnwindSafe for CreateCacheParameterGroupInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more