Struct aws_sdk_docdb::operation::modify_db_subnet_group::builders::ModifyDbSubnetGroupInputBuilder
source · #[non_exhaustive]pub struct ModifyDbSubnetGroupInputBuilder { /* private fields */ }Expand description
A builder for ModifyDbSubnetGroupInput.
Implementations§
source§impl ModifyDbSubnetGroupInputBuilder
impl ModifyDbSubnetGroupInputBuilder
sourcepub fn db_subnet_group_name(self, input: impl Into<String>) -> Self
pub fn db_subnet_group_name(self, input: impl Into<String>) -> Self
The name for the subnet group. This value is stored as a lowercase string. You can't modify the default subnet group.
Constraints: Must match the name of an existing DBSubnetGroup. Must not be default.
Example: mySubnetgroup
sourcepub fn set_db_subnet_group_name(self, input: Option<String>) -> Self
pub fn set_db_subnet_group_name(self, input: Option<String>) -> Self
The name for the subnet group. This value is stored as a lowercase string. You can't modify the default subnet group.
Constraints: Must match the name of an existing DBSubnetGroup. Must not be default.
Example: mySubnetgroup
sourcepub fn get_db_subnet_group_name(&self) -> &Option<String>
pub fn get_db_subnet_group_name(&self) -> &Option<String>
The name for the subnet group. This value is stored as a lowercase string. You can't modify the default subnet group.
Constraints: Must match the name of an existing DBSubnetGroup. Must not be default.
Example: mySubnetgroup
sourcepub fn db_subnet_group_description(self, input: impl Into<String>) -> Self
pub fn db_subnet_group_description(self, input: impl Into<String>) -> Self
The description for the subnet group.
sourcepub fn set_db_subnet_group_description(self, input: Option<String>) -> Self
pub fn set_db_subnet_group_description(self, input: Option<String>) -> Self
The description for the subnet group.
sourcepub fn get_db_subnet_group_description(&self) -> &Option<String>
pub fn get_db_subnet_group_description(&self) -> &Option<String>
The description for the subnet group.
sourcepub fn subnet_ids(self, input: impl Into<String>) -> Self
pub fn subnet_ids(self, input: impl Into<String>) -> Self
Appends an item to subnet_ids.
To override the contents of this collection use set_subnet_ids.
The Amazon EC2 subnet IDs for the subnet group.
sourcepub fn set_subnet_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_subnet_ids(self, input: Option<Vec<String>>) -> Self
The Amazon EC2 subnet IDs for the subnet group.
sourcepub fn get_subnet_ids(&self) -> &Option<Vec<String>>
pub fn get_subnet_ids(&self) -> &Option<Vec<String>>
The Amazon EC2 subnet IDs for the subnet group.
sourcepub fn build(self) -> Result<ModifyDbSubnetGroupInput, BuildError>
pub fn build(self) -> Result<ModifyDbSubnetGroupInput, BuildError>
Consumes the builder and constructs a ModifyDbSubnetGroupInput.
source§impl ModifyDbSubnetGroupInputBuilder
impl ModifyDbSubnetGroupInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ModifyDbSubnetGroupOutput, SdkError<ModifyDBSubnetGroupError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ModifyDbSubnetGroupOutput, SdkError<ModifyDBSubnetGroupError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ModifyDbSubnetGroupInputBuilder
impl Clone for ModifyDbSubnetGroupInputBuilder
source§fn clone(&self) -> ModifyDbSubnetGroupInputBuilder
fn clone(&self) -> ModifyDbSubnetGroupInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ModifyDbSubnetGroupInputBuilder
impl Default for ModifyDbSubnetGroupInputBuilder
source§fn default() -> ModifyDbSubnetGroupInputBuilder
fn default() -> ModifyDbSubnetGroupInputBuilder
source§impl PartialEq for ModifyDbSubnetGroupInputBuilder
impl PartialEq for ModifyDbSubnetGroupInputBuilder
source§fn eq(&self, other: &ModifyDbSubnetGroupInputBuilder) -> bool
fn eq(&self, other: &ModifyDbSubnetGroupInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ModifyDbSubnetGroupInputBuilder
Auto Trait Implementations§
impl Freeze for ModifyDbSubnetGroupInputBuilder
impl RefUnwindSafe for ModifyDbSubnetGroupInputBuilder
impl Send for ModifyDbSubnetGroupInputBuilder
impl Sync for ModifyDbSubnetGroupInputBuilder
impl Unpin for ModifyDbSubnetGroupInputBuilder
impl UnwindSafe for ModifyDbSubnetGroupInputBuilder
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