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