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 ==
.