Struct aws_sdk_docdb::operation::reset_db_cluster_parameter_group::ResetDbClusterParameterGroupInput
source · #[non_exhaustive]pub struct ResetDbClusterParameterGroupInput {
pub db_cluster_parameter_group_name: Option<String>,
pub reset_all_parameters: Option<bool>,
pub parameters: Option<Vec<Parameter>>,
}
Expand description
Represents the input to ResetDBClusterParameterGroup
.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.db_cluster_parameter_group_name: Option<String>
The name of the cluster parameter group to reset.
reset_all_parameters: Option<bool>
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.
parameters: Option<Vec<Parameter>>
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
.
Implementations§
source§impl ResetDbClusterParameterGroupInput
impl ResetDbClusterParameterGroupInput
sourcepub fn db_cluster_parameter_group_name(&self) -> Option<&str>
pub fn db_cluster_parameter_group_name(&self) -> Option<&str>
The name of the cluster parameter group to reset.
sourcepub fn reset_all_parameters(&self) -> Option<bool>
pub fn reset_all_parameters(&self) -> Option<bool>
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) -> &[Parameter]
pub fn parameters(&self) -> &[Parameter]
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
.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .parameters.is_none()
.
source§impl ResetDbClusterParameterGroupInput
impl ResetDbClusterParameterGroupInput
sourcepub fn builder() -> ResetDbClusterParameterGroupInputBuilder
pub fn builder() -> ResetDbClusterParameterGroupInputBuilder
Creates a new builder-style object to manufacture ResetDbClusterParameterGroupInput
.
Trait Implementations§
source§impl Clone for ResetDbClusterParameterGroupInput
impl Clone for ResetDbClusterParameterGroupInput
source§fn clone(&self) -> ResetDbClusterParameterGroupInput
fn clone(&self) -> ResetDbClusterParameterGroupInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for ResetDbClusterParameterGroupInput
impl PartialEq for ResetDbClusterParameterGroupInput
source§fn eq(&self, other: &ResetDbClusterParameterGroupInput) -> bool
fn eq(&self, other: &ResetDbClusterParameterGroupInput) -> bool
self
and other
values to be equal, and is used
by ==
.