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.
This field is required.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 get_parameter_group_name(&self) -> &Option<String>
pub fn get_parameter_group_name(&self) -> &Option<String>
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 get_parameter_name_values(&self) -> &Option<Vec<ParameterNameValue>>
pub fn get_parameter_name_values(&self) -> &Option<Vec<ParameterNameValue>>
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
.
source§impl UpdateParameterGroupInputBuilder
impl UpdateParameterGroupInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateParameterGroupOutput, SdkError<UpdateParameterGroupError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateParameterGroupOutput, SdkError<UpdateParameterGroupError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateParameterGroupInputBuilder
impl Clone for UpdateParameterGroupInputBuilder
source§fn clone(&self) -> UpdateParameterGroupInputBuilder
fn clone(&self) -> UpdateParameterGroupInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateParameterGroupInputBuilder
impl Default for UpdateParameterGroupInputBuilder
source§fn default() -> UpdateParameterGroupInputBuilder
fn default() -> UpdateParameterGroupInputBuilder
source§impl PartialEq for UpdateParameterGroupInputBuilder
impl PartialEq for UpdateParameterGroupInputBuilder
source§fn eq(&self, other: &UpdateParameterGroupInputBuilder) -> bool
fn eq(&self, other: &UpdateParameterGroupInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateParameterGroupInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateParameterGroupInputBuilder
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
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