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 ==.impl StructuralPartialEq for ResetDbClusterParameterGroupInputBuilder
Auto Trait Implementations§
impl Freeze for ResetDbClusterParameterGroupInputBuilder
impl RefUnwindSafe for ResetDbClusterParameterGroupInputBuilder
impl Send for ResetDbClusterParameterGroupInputBuilder
impl Sync for ResetDbClusterParameterGroupInputBuilder
impl Unpin for ResetDbClusterParameterGroupInputBuilder
impl UnwindSafe for ResetDbClusterParameterGroupInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more