pub struct ResetParameterGroup { /* 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 ResetParameterGroup
impl ResetParameterGroup
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<ResetParameterGroup, AwsResponseRetryClassifier>, SdkError<ResetParameterGroupError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<ResetParameterGroup, AwsResponseRetryClassifier>, SdkError<ResetParameterGroupError>>
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<ResetParameterGroupOutput, SdkError<ResetParameterGroupError>>
pub async fn send(
self
) -> Result<ResetParameterGroupOutput, SdkError<ResetParameterGroupError>>
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 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 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 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.
Trait Implementations§
source§impl Clone for ResetParameterGroup
impl Clone for ResetParameterGroup
source§fn clone(&self) -> ResetParameterGroup
fn clone(&self) -> ResetParameterGroup
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more