Struct aws_sdk_memorydb::operation::create_parameter_group::builders::CreateParameterGroupInputBuilder
source · #[non_exhaustive]pub struct CreateParameterGroupInputBuilder { /* private fields */ }
Expand description
A builder for CreateParameterGroupInput
.
Implementations§
source§impl CreateParameterGroupInputBuilder
impl CreateParameterGroupInputBuilder
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.
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.
sourcepub fn get_parameter_group_name(&self) -> &Option<String>
pub fn get_parameter_group_name(&self) -> &Option<String>
The name of the parameter group.
sourcepub fn family(self, input: impl Into<String>) -> Self
pub fn family(self, input: impl Into<String>) -> Self
The name of the parameter group family that the parameter group can be used with.
This field is required.sourcepub fn set_family(self, input: Option<String>) -> Self
pub fn set_family(self, input: Option<String>) -> Self
The name of the parameter group family that the parameter group can be used with.
sourcepub fn get_family(&self) -> &Option<String>
pub fn get_family(&self) -> &Option<String>
The name of the parameter group family that the parameter group can be used with.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
An optional description of the parameter group.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
An optional description of the parameter group.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
An optional description of the parameter group.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
sourcepub fn build(self) -> Result<CreateParameterGroupInput, BuildError>
pub fn build(self) -> Result<CreateParameterGroupInput, BuildError>
Consumes the builder and constructs a CreateParameterGroupInput
.
source§impl CreateParameterGroupInputBuilder
impl CreateParameterGroupInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateParameterGroupOutput, SdkError<CreateParameterGroupError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateParameterGroupOutput, SdkError<CreateParameterGroupError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateParameterGroupInputBuilder
impl Clone for CreateParameterGroupInputBuilder
source§fn clone(&self) -> CreateParameterGroupInputBuilder
fn clone(&self) -> CreateParameterGroupInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateParameterGroupInputBuilder
impl Default for CreateParameterGroupInputBuilder
source§fn default() -> CreateParameterGroupInputBuilder
fn default() -> CreateParameterGroupInputBuilder
source§impl PartialEq for CreateParameterGroupInputBuilder
impl PartialEq for CreateParameterGroupInputBuilder
source§fn eq(&self, other: &CreateParameterGroupInputBuilder) -> bool
fn eq(&self, other: &CreateParameterGroupInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateParameterGroupInputBuilder
Auto Trait Implementations§
impl Freeze for CreateParameterGroupInputBuilder
impl RefUnwindSafe for CreateParameterGroupInputBuilder
impl Send for CreateParameterGroupInputBuilder
impl Sync for CreateParameterGroupInputBuilder
impl Unpin for CreateParameterGroupInputBuilder
impl UnwindSafe for CreateParameterGroupInputBuilder
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