Struct aws_sdk_memorydb::operation::update_parameter_group::builders::UpdateParameterGroupInputBuilder
source · #[non_exhaustive]pub struct UpdateParameterGroupInputBuilder { /* private fields */ }
Expand description
A builder for UpdateParameterGroupInput
.
Implementations§
source§impl UpdateParameterGroupInputBuilder
impl UpdateParameterGroupInputBuilder
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 update.
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 update.
sourcepub fn parameter_name_values(self, input: ParameterNameValue) -> Self
pub fn parameter_name_values(self, input: ParameterNameValue) -> Self
Appends an item to parameter_name_values
.
To override the contents of this collection use set_parameter_name_values
.
An array of parameter names and values for the parameter update. You must supply at least one parameter name and value; subsequent arguments are optional. A maximum of 20 parameters may be updated per request.
sourcepub fn set_parameter_name_values(
self,
input: Option<Vec<ParameterNameValue>>
) -> Self
pub fn set_parameter_name_values( self, input: Option<Vec<ParameterNameValue>> ) -> Self
An array of parameter names and values for the parameter update. You must supply at least one parameter name and value; subsequent arguments are optional. A maximum of 20 parameters may be updated per request.
sourcepub fn build(self) -> Result<UpdateParameterGroupInput, BuildError>
pub fn build(self) -> Result<UpdateParameterGroupInput, BuildError>
Consumes the builder and constructs a UpdateParameterGroupInput
.
Trait Implementations§
source§impl Clone for UpdateParameterGroupInputBuilder
impl Clone for UpdateParameterGroupInputBuilder
source§fn clone(&self) -> UpdateParameterGroupInputBuilder
fn clone(&self) -> UpdateParameterGroupInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for UpdateParameterGroupInputBuilder
impl Default for UpdateParameterGroupInputBuilder
source§fn default() -> UpdateParameterGroupInputBuilder
fn default() -> UpdateParameterGroupInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<UpdateParameterGroupInputBuilder> for UpdateParameterGroupInputBuilder
impl PartialEq<UpdateParameterGroupInputBuilder> for UpdateParameterGroupInputBuilder
source§fn eq(&self, other: &UpdateParameterGroupInputBuilder) -> bool
fn eq(&self, other: &UpdateParameterGroupInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateParameterGroupInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for UpdateParameterGroupInputBuilder
impl Send for UpdateParameterGroupInputBuilder
impl Sync for UpdateParameterGroupInputBuilder
impl Unpin for UpdateParameterGroupInputBuilder
impl UnwindSafe for UpdateParameterGroupInputBuilder
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
Mutably borrows from an owned value. Read more