#[non_exhaustive]pub struct DbParameterGroupSummaryBuilder { /* private fields */ }
Expand description
A builder for DbParameterGroupSummary
.
Implementations§
source§impl DbParameterGroupSummaryBuilder
impl DbParameterGroupSummaryBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
A service-generated unique identifier.
This field is required.sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
This customer-supplied name uniquely identifies the parameter group.
This field is required.sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
This customer-supplied name uniquely identifies the parameter group.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
This customer-supplied name uniquely identifies the parameter group.
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the DB parameter group.
This field is required.sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the DB parameter group.
sourcepub fn get_arn(&self) -> &Option<String>
pub fn get_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the DB parameter group.
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 build(self) -> Result<DbParameterGroupSummary, BuildError>
pub fn build(self) -> Result<DbParameterGroupSummary, BuildError>
Consumes the builder and constructs a DbParameterGroupSummary
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for DbParameterGroupSummaryBuilder
impl Clone for DbParameterGroupSummaryBuilder
source§fn clone(&self) -> DbParameterGroupSummaryBuilder
fn clone(&self) -> DbParameterGroupSummaryBuilder
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 DbParameterGroupSummaryBuilder
impl Default for DbParameterGroupSummaryBuilder
source§fn default() -> DbParameterGroupSummaryBuilder
fn default() -> DbParameterGroupSummaryBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DbParameterGroupSummaryBuilder
impl PartialEq for DbParameterGroupSummaryBuilder
source§fn eq(&self, other: &DbParameterGroupSummaryBuilder) -> bool
fn eq(&self, other: &DbParameterGroupSummaryBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DbParameterGroupSummaryBuilder
Auto Trait Implementations§
impl Freeze for DbParameterGroupSummaryBuilder
impl RefUnwindSafe for DbParameterGroupSummaryBuilder
impl Send for DbParameterGroupSummaryBuilder
impl Sync for DbParameterGroupSummaryBuilder
impl Unpin for DbParameterGroupSummaryBuilder
impl UnwindSafe for DbParameterGroupSummaryBuilder
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
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>
Creates a shared type from an unshared type.