Struct aws_sdk_timestreaminfluxdb::operation::create_db_parameter_group::builders::CreateDbParameterGroupInputBuilder
source · #[non_exhaustive]pub struct CreateDbParameterGroupInputBuilder { /* private fields */ }
Expand description
A builder for CreateDbParameterGroupInput
.
Implementations§
source§impl CreateDbParameterGroupInputBuilder
impl CreateDbParameterGroupInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the DB parameter group. The name must be unique per customer and per region.
This field is required.sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the DB parameter group. The name must be unique per customer and per region.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the DB parameter group. The name must be unique per customer and per region.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the DB parameter group.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the DB parameter group.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description of the DB parameter group.
sourcepub fn parameters(self, input: Parameters) -> Self
pub fn parameters(self, input: Parameters) -> Self
A list of the parameters that comprise the DB parameter group.
sourcepub fn set_parameters(self, input: Option<Parameters>) -> Self
pub fn set_parameters(self, input: Option<Parameters>) -> Self
A list of the parameters that comprise the DB parameter group.
sourcepub fn get_parameters(&self) -> &Option<Parameters>
pub fn get_parameters(&self) -> &Option<Parameters>
A list of the parameters that comprise the DB parameter group.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
A list of key-value pairs to associate with the DB parameter group.
A list of key-value pairs to associate with the DB parameter group.
A list of key-value pairs to associate with the DB parameter group.
sourcepub fn build(self) -> Result<CreateDbParameterGroupInput, BuildError>
pub fn build(self) -> Result<CreateDbParameterGroupInput, BuildError>
Consumes the builder and constructs a CreateDbParameterGroupInput
.
source§impl CreateDbParameterGroupInputBuilder
impl CreateDbParameterGroupInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateDbParameterGroupOutput, SdkError<CreateDbParameterGroupError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateDbParameterGroupOutput, SdkError<CreateDbParameterGroupError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateDbParameterGroupInputBuilder
impl Clone for CreateDbParameterGroupInputBuilder
source§fn clone(&self) -> CreateDbParameterGroupInputBuilder
fn clone(&self) -> CreateDbParameterGroupInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateDbParameterGroupInputBuilder
impl Default for CreateDbParameterGroupInputBuilder
source§fn default() -> CreateDbParameterGroupInputBuilder
fn default() -> CreateDbParameterGroupInputBuilder
source§impl PartialEq for CreateDbParameterGroupInputBuilder
impl PartialEq for CreateDbParameterGroupInputBuilder
source§fn eq(&self, other: &CreateDbParameterGroupInputBuilder) -> bool
fn eq(&self, other: &CreateDbParameterGroupInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.