pub struct ResetDBClusterParameterGroup { /* private fields */ }
Expand description
Fluent builder constructing a request to ResetDBClusterParameterGroup
.
Modifies the parameters of a cluster parameter group to the default value. To reset specific parameters, submit a list of the following: ParameterName
and ApplyMethod
. To reset the entire cluster parameter group, specify the DBClusterParameterGroupName
and ResetAllParameters
parameters.
When you reset the entire group, dynamic parameters are updated immediately and static parameters are set to pending-reboot
to take effect on the next DB instance reboot.
Implementations
sourceimpl ResetDBClusterParameterGroup
impl ResetDBClusterParameterGroup
sourcepub async fn send(
self
) -> Result<ResetDbClusterParameterGroupOutput, SdkError<ResetDBClusterParameterGroupError>>
pub async fn send(
self
) -> Result<ResetDbClusterParameterGroupOutput, SdkError<ResetDBClusterParameterGroupError>>
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 db_cluster_parameter_group_name(self, input: impl Into<String>) -> Self
pub fn db_cluster_parameter_group_name(self, input: impl Into<String>) -> Self
The name of the cluster parameter group to reset.
sourcepub fn set_db_cluster_parameter_group_name(self, input: Option<String>) -> Self
pub fn set_db_cluster_parameter_group_name(self, input: Option<String>) -> Self
The name of the cluster parameter group to reset.
sourcepub fn reset_all_parameters(self, input: bool) -> Self
pub fn reset_all_parameters(self, input: bool) -> Self
A value that is set to true
to reset all parameters in the cluster parameter group to their default values, and false
otherwise. You can't use this parameter if there is a list of parameter names specified for the Parameters
parameter.
sourcepub fn set_reset_all_parameters(self, input: Option<bool>) -> Self
pub fn set_reset_all_parameters(self, input: Option<bool>) -> Self
A value that is set to true
to reset all parameters in the cluster parameter group to their default values, and false
otherwise. You can't use this parameter if there is a list of parameter names specified for the Parameters
parameter.
sourcepub fn parameters(self, input: Parameter) -> Self
pub fn parameters(self, input: Parameter) -> Self
Appends an item to Parameters
.
To override the contents of this collection use set_parameters
.
A list of parameter names in the cluster parameter group to reset to the default values. You can't use this parameter if the ResetAllParameters
parameter is set to true
.
sourcepub fn set_parameters(self, input: Option<Vec<Parameter>>) -> Self
pub fn set_parameters(self, input: Option<Vec<Parameter>>) -> Self
A list of parameter names in the cluster parameter group to reset to the default values. You can't use this parameter if the ResetAllParameters
parameter is set to true
.
Trait Implementations
sourceimpl Clone for ResetDBClusterParameterGroup
impl Clone for ResetDBClusterParameterGroup
sourcefn clone(&self) -> ResetDBClusterParameterGroup
fn clone(&self) -> ResetDBClusterParameterGroup
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 ResetDBClusterParameterGroup
impl Send for ResetDBClusterParameterGroup
impl Sync for ResetDBClusterParameterGroup
impl Unpin for ResetDBClusterParameterGroup
impl !UnwindSafe for ResetDBClusterParameterGroup
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub 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