pub struct ModifyCacheParameterGroup { /* 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 ModifyCacheParameterGroup
impl ModifyCacheParameterGroup
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<ModifyCacheParameterGroup, AwsResponseRetryClassifier>, SdkError<ModifyCacheParameterGroupError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<ModifyCacheParameterGroup, AwsResponseRetryClassifier>, SdkError<ModifyCacheParameterGroupError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<ModifyCacheParameterGroupOutput, SdkError<ModifyCacheParameterGroupError>>
pub async fn send(
self
) -> Result<ModifyCacheParameterGroupOutput, SdkError<ModifyCacheParameterGroupError>>
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 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 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.
Trait Implementations§
source§impl Clone for ModifyCacheParameterGroup
impl Clone for ModifyCacheParameterGroup
source§fn clone(&self) -> ModifyCacheParameterGroup
fn clone(&self) -> ModifyCacheParameterGroup
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more