Struct aws_sdk_memorydb::operation::reset_parameter_group::builders::ResetParameterGroupFluentBuilder
source · pub struct ResetParameterGroupFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ResetParameterGroup
.
Modifies the parameters of a parameter group to the engine or system default value. You can reset specific parameters by submitting a list of parameter names. To reset the entire parameter group, specify the AllParameters and ParameterGroupName parameters.
Implementations§
source§impl ResetParameterGroupFluentBuilder
impl ResetParameterGroupFluentBuilder
sourcepub fn as_input(&self) -> &ResetParameterGroupInputBuilder
pub fn as_input(&self) -> &ResetParameterGroupInputBuilder
Access the ResetParameterGroup as a reference.
sourcepub async fn send(
self
) -> Result<ResetParameterGroupOutput, SdkError<ResetParameterGroupError, HttpResponse>>
pub async fn send( self ) -> Result<ResetParameterGroupOutput, SdkError<ResetParameterGroupError, 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<ResetParameterGroupOutput, ResetParameterGroupError, Self>
pub fn customize( self ) -> CustomizableOperation<ResetParameterGroupOutput, ResetParameterGroupError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn parameter_group_name(self, input: impl Into<String>) -> Self
pub fn parameter_group_name(self, input: impl Into<String>) -> Self
The name of the parameter group to reset.
sourcepub fn set_parameter_group_name(self, input: Option<String>) -> Self
pub fn set_parameter_group_name(self, input: Option<String>) -> Self
The name of the parameter group to reset.
sourcepub fn get_parameter_group_name(&self) -> &Option<String>
pub fn get_parameter_group_name(&self) -> &Option<String>
The name of the parameter group to reset.
sourcepub fn all_parameters(self, input: bool) -> Self
pub fn all_parameters(self, input: bool) -> Self
If true, all parameters in the parameter group are reset to their default values. If false, only the parameters listed by ParameterNames are reset to their default values.
sourcepub fn set_all_parameters(self, input: Option<bool>) -> Self
pub fn set_all_parameters(self, input: Option<bool>) -> Self
If true, all parameters in the parameter group are reset to their default values. If false, only the parameters listed by ParameterNames are reset to their default values.
sourcepub fn get_all_parameters(&self) -> &Option<bool>
pub fn get_all_parameters(&self) -> &Option<bool>
If true, all parameters in the parameter group are reset to their default values. If false, only the parameters listed by ParameterNames are reset to their default values.
sourcepub fn parameter_names(self, input: impl Into<String>) -> Self
pub fn parameter_names(self, input: impl Into<String>) -> Self
Appends an item to ParameterNames
.
To override the contents of this collection use set_parameter_names
.
An array of parameter names to reset to their default values. If AllParameters is true, do not use ParameterNames. If AllParameters is false, you must specify the name of at least one parameter to reset.
sourcepub fn set_parameter_names(self, input: Option<Vec<String>>) -> Self
pub fn set_parameter_names(self, input: Option<Vec<String>>) -> Self
An array of parameter names to reset to their default values. If AllParameters is true, do not use ParameterNames. If AllParameters is false, you must specify the name of at least one parameter to reset.
sourcepub fn get_parameter_names(&self) -> &Option<Vec<String>>
pub fn get_parameter_names(&self) -> &Option<Vec<String>>
An array of parameter names to reset to their default values. If AllParameters is true, do not use ParameterNames. If AllParameters is false, you must specify the name of at least one parameter to reset.
Trait Implementations§
source§impl Clone for ResetParameterGroupFluentBuilder
impl Clone for ResetParameterGroupFluentBuilder
source§fn clone(&self) -> ResetParameterGroupFluentBuilder
fn clone(&self) -> ResetParameterGroupFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more