Struct aws_sdk_elasticache::operation::modify_cache_parameter_group::builders::ModifyCacheParameterGroupFluentBuilder
source · pub struct ModifyCacheParameterGroupFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ModifyCacheParameterGroup
.
Modifies the parameters of a cache parameter group. You can modify up to 20 parameters in a single request by submitting a list parameter name and value pairs.
Implementations§
source§impl ModifyCacheParameterGroupFluentBuilder
impl ModifyCacheParameterGroupFluentBuilder
sourcepub fn as_input(&self) -> &ModifyCacheParameterGroupInputBuilder
pub fn as_input(&self) -> &ModifyCacheParameterGroupInputBuilder
Access the ModifyCacheParameterGroup as a reference.
sourcepub async fn send(
self
) -> Result<ModifyCacheParameterGroupOutput, SdkError<ModifyCacheParameterGroupError, HttpResponse>>
pub async fn send( self ) -> Result<ModifyCacheParameterGroupOutput, SdkError<ModifyCacheParameterGroupError, 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<ModifyCacheParameterGroupOutput, ModifyCacheParameterGroupError, Self>
pub fn customize( self ) -> CustomizableOperation<ModifyCacheParameterGroupOutput, ModifyCacheParameterGroupError, 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
The name of the cache parameter group to modify.
sourcepub fn set_cache_parameter_group_name(self, input: Option<String>) -> Self
pub fn set_cache_parameter_group_name(self, input: Option<String>) -> Self
The name of the cache parameter group to modify.
sourcepub fn get_cache_parameter_group_name(&self) -> &Option<String>
pub fn get_cache_parameter_group_name(&self) -> &Option<String>
The name of the cache parameter group to modify.
sourcepub fn parameter_name_values(self, input: ParameterNameValue) -> Self
pub fn parameter_name_values(self, input: ParameterNameValue) -> Self
Appends an item to ParameterNameValues
.
To override the contents of this collection use set_parameter_name_values
.
An array of parameter names and values for the parameter update. You must supply at least one parameter name and value; subsequent arguments are optional. A maximum of 20 parameters may be modified per request.
sourcepub fn set_parameter_name_values(
self,
input: Option<Vec<ParameterNameValue>>
) -> Self
pub fn set_parameter_name_values( self, input: Option<Vec<ParameterNameValue>> ) -> Self
An array of parameter names and values for the parameter update. You must supply at least one parameter name and value; subsequent arguments are optional. A maximum of 20 parameters may be modified per request.
sourcepub fn get_parameter_name_values(&self) -> &Option<Vec<ParameterNameValue>>
pub fn get_parameter_name_values(&self) -> &Option<Vec<ParameterNameValue>>
An array of parameter names and values for the parameter update. You must supply at least one parameter name and value; subsequent arguments are optional. A maximum of 20 parameters may be modified per request.
Trait Implementations§
source§impl Clone for ModifyCacheParameterGroupFluentBuilder
impl Clone for ModifyCacheParameterGroupFluentBuilder
source§fn clone(&self) -> ModifyCacheParameterGroupFluentBuilder
fn clone(&self) -> ModifyCacheParameterGroupFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more