Struct aws_sdk_memorydb::operation::reset_parameter_group::builders::ResetParameterGroupInputBuilder
source · #[non_exhaustive]pub struct ResetParameterGroupInputBuilder { /* private fields */ }
Expand description
A builder for ResetParameterGroupInput
.
Implementations§
source§impl ResetParameterGroupInputBuilder
impl ResetParameterGroupInputBuilder
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 get_parameter_group_name(&self) -> &Option<String>
pub fn get_parameter_group_name(&self) -> &Option<String>
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 get_all_parameters(&self) -> &Option<bool>
pub fn get_all_parameters(&self) -> &Option<bool>
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 parameter_names
.
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.
sourcepub fn get_parameter_names(&self) -> &Option<Vec<String>>
pub fn get_parameter_names(&self) -> &Option<Vec<String>>
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 build(self) -> Result<ResetParameterGroupInput, BuildError>
pub fn build(self) -> Result<ResetParameterGroupInput, BuildError>
Consumes the builder and constructs a ResetParameterGroupInput
.
source§impl ResetParameterGroupInputBuilder
impl ResetParameterGroupInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ResetParameterGroupOutput, SdkError<ResetParameterGroupError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ResetParameterGroupOutput, SdkError<ResetParameterGroupError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ResetParameterGroupInputBuilder
impl Clone for ResetParameterGroupInputBuilder
source§fn clone(&self) -> ResetParameterGroupInputBuilder
fn clone(&self) -> ResetParameterGroupInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ResetParameterGroupInputBuilder
impl Default for ResetParameterGroupInputBuilder
source§fn default() -> ResetParameterGroupInputBuilder
fn default() -> ResetParameterGroupInputBuilder
source§impl PartialEq<ResetParameterGroupInputBuilder> for ResetParameterGroupInputBuilder
impl PartialEq<ResetParameterGroupInputBuilder> for ResetParameterGroupInputBuilder
source§fn eq(&self, other: &ResetParameterGroupInputBuilder) -> bool
fn eq(&self, other: &ResetParameterGroupInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.