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
sourceimpl ResetParameterGroup
impl ResetParameterGroup
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
sourceimpl Clone for ResetParameterGroup
impl Clone for ResetParameterGroup
sourcefn clone(&self) -> ResetParameterGroup
fn clone(&self) -> ResetParameterGroup
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl !RefUnwindSafe for ResetParameterGroup
impl Send for ResetParameterGroup
impl Sync for ResetParameterGroup
impl Unpin for ResetParameterGroup
impl !UnwindSafe for ResetParameterGroup
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more