Struct aws_sdk_docdb::operation::create_db_subnet_group::builders::CreateDbSubnetGroupInputBuilder
source · #[non_exhaustive]pub struct CreateDbSubnetGroupInputBuilder { /* private fields */ }Expand description
A builder for CreateDbSubnetGroupInput.
Implementations§
source§impl CreateDbSubnetGroupInputBuilder
impl CreateDbSubnetGroupInputBuilder
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.
Constraints: Must contain no more than 255 letters, numbers, periods, underscores, spaces, or hyphens. 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.
Constraints: Must contain no more than 255 letters, numbers, periods, underscores, spaces, or hyphens. 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.
Constraints: Must contain no more than 255 letters, numbers, periods, underscores, spaces, or hyphens. 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.
Appends an item to tags.
To override the contents of this collection use set_tags.
The tags to be assigned to the subnet group.
The tags to be assigned to the subnet group.
The tags to be assigned to the subnet group.
sourcepub fn build(self) -> Result<CreateDbSubnetGroupInput, BuildError>
pub fn build(self) -> Result<CreateDbSubnetGroupInput, BuildError>
Consumes the builder and constructs a CreateDbSubnetGroupInput.
source§impl CreateDbSubnetGroupInputBuilder
impl CreateDbSubnetGroupInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateDbSubnetGroupOutput, SdkError<CreateDBSubnetGroupError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateDbSubnetGroupOutput, SdkError<CreateDBSubnetGroupError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateDbSubnetGroupInputBuilder
impl Clone for CreateDbSubnetGroupInputBuilder
source§fn clone(&self) -> CreateDbSubnetGroupInputBuilder
fn clone(&self) -> CreateDbSubnetGroupInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreateDbSubnetGroupInputBuilder
impl Default for CreateDbSubnetGroupInputBuilder
source§fn default() -> CreateDbSubnetGroupInputBuilder
fn default() -> CreateDbSubnetGroupInputBuilder
source§impl PartialEq for CreateDbSubnetGroupInputBuilder
impl PartialEq for CreateDbSubnetGroupInputBuilder
source§fn eq(&self, other: &CreateDbSubnetGroupInputBuilder) -> bool
fn eq(&self, other: &CreateDbSubnetGroupInputBuilder) -> bool
self and other values to be equal, and is used
by ==.