Struct aws_sdk_docdb::operation::reset_db_cluster_parameter_group::builders::ResetDbClusterParameterGroupInputBuilder
source · #[non_exhaustive]pub struct ResetDbClusterParameterGroupInputBuilder { /* private fields */ }
Expand description
A builder for ResetDbClusterParameterGroupInput
.
Implementations§
source§impl ResetDbClusterParameterGroupInputBuilder
impl ResetDbClusterParameterGroupInputBuilder
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.
This field is required.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 get_db_cluster_parameter_group_name(&self) -> &Option<String>
pub fn get_db_cluster_parameter_group_name(&self) -> &Option<String>
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 get_reset_all_parameters(&self) -> &Option<bool>
pub fn get_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, 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
.
sourcepub fn get_parameters(&self) -> &Option<Vec<Parameter>>
pub fn get_parameters(&self) -> &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
.
sourcepub fn build(self) -> Result<ResetDbClusterParameterGroupInput, BuildError>
pub fn build(self) -> Result<ResetDbClusterParameterGroupInput, BuildError>
Consumes the builder and constructs a ResetDbClusterParameterGroupInput
.
source§impl ResetDbClusterParameterGroupInputBuilder
impl ResetDbClusterParameterGroupInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ResetDbClusterParameterGroupOutput, SdkError<ResetDBClusterParameterGroupError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ResetDbClusterParameterGroupOutput, SdkError<ResetDBClusterParameterGroupError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ResetDbClusterParameterGroupInputBuilder
impl Clone for ResetDbClusterParameterGroupInputBuilder
source§fn clone(&self) -> ResetDbClusterParameterGroupInputBuilder
fn clone(&self) -> ResetDbClusterParameterGroupInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ResetDbClusterParameterGroupInputBuilder
impl Default for ResetDbClusterParameterGroupInputBuilder
source§fn default() -> ResetDbClusterParameterGroupInputBuilder
fn default() -> ResetDbClusterParameterGroupInputBuilder
source§impl PartialEq for ResetDbClusterParameterGroupInputBuilder
impl PartialEq for ResetDbClusterParameterGroupInputBuilder
source§fn eq(&self, other: &ResetDbClusterParameterGroupInputBuilder) -> bool
fn eq(&self, other: &ResetDbClusterParameterGroupInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.