Struct aws_sdk_docdb::types::builders::DbSubnetGroupBuilder
source · #[non_exhaustive]pub struct DbSubnetGroupBuilder { /* private fields */ }
Expand description
A builder for DbSubnetGroup
.
Implementations§
source§impl DbSubnetGroupBuilder
impl DbSubnetGroupBuilder
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 of the subnet group.
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 of the subnet group.
sourcepub fn get_db_subnet_group_name(&self) -> &Option<String>
pub fn get_db_subnet_group_name(&self) -> &Option<String>
The name of the subnet group.
sourcepub fn db_subnet_group_description(self, input: impl Into<String>) -> Self
pub fn db_subnet_group_description(self, input: impl Into<String>) -> Self
Provides the description of 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
Provides the description of the subnet group.
sourcepub fn get_db_subnet_group_description(&self) -> &Option<String>
pub fn get_db_subnet_group_description(&self) -> &Option<String>
Provides the description of the subnet group.
sourcepub fn vpc_id(self, input: impl Into<String>) -> Self
pub fn vpc_id(self, input: impl Into<String>) -> Self
Provides the virtual private cloud (VPC) ID of the subnet group.
sourcepub fn set_vpc_id(self, input: Option<String>) -> Self
pub fn set_vpc_id(self, input: Option<String>) -> Self
Provides the virtual private cloud (VPC) ID of the subnet group.
sourcepub fn get_vpc_id(&self) -> &Option<String>
pub fn get_vpc_id(&self) -> &Option<String>
Provides the virtual private cloud (VPC) ID of the subnet group.
sourcepub fn subnet_group_status(self, input: impl Into<String>) -> Self
pub fn subnet_group_status(self, input: impl Into<String>) -> Self
Provides the status of the subnet group.
sourcepub fn set_subnet_group_status(self, input: Option<String>) -> Self
pub fn set_subnet_group_status(self, input: Option<String>) -> Self
Provides the status of the subnet group.
sourcepub fn get_subnet_group_status(&self) -> &Option<String>
pub fn get_subnet_group_status(&self) -> &Option<String>
Provides the status of the subnet group.
sourcepub fn subnets(self, input: Subnet) -> Self
pub fn subnets(self, input: Subnet) -> Self
Appends an item to subnets
.
To override the contents of this collection use set_subnets
.
Detailed information about one or more subnets within a subnet group.
sourcepub fn set_subnets(self, input: Option<Vec<Subnet>>) -> Self
pub fn set_subnets(self, input: Option<Vec<Subnet>>) -> Self
Detailed information about one or more subnets within a subnet group.
sourcepub fn get_subnets(&self) -> &Option<Vec<Subnet>>
pub fn get_subnets(&self) -> &Option<Vec<Subnet>>
Detailed information about one or more subnets within a subnet group.
sourcepub fn db_subnet_group_arn(self, input: impl Into<String>) -> Self
pub fn db_subnet_group_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) for the DB subnet group.
sourcepub fn set_db_subnet_group_arn(self, input: Option<String>) -> Self
pub fn set_db_subnet_group_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) for the DB subnet group.
sourcepub fn get_db_subnet_group_arn(&self) -> &Option<String>
pub fn get_db_subnet_group_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) for the DB subnet group.
sourcepub fn build(self) -> DbSubnetGroup
pub fn build(self) -> DbSubnetGroup
Consumes the builder and constructs a DbSubnetGroup
.
Trait Implementations§
source§impl Clone for DbSubnetGroupBuilder
impl Clone for DbSubnetGroupBuilder
source§fn clone(&self) -> DbSubnetGroupBuilder
fn clone(&self) -> DbSubnetGroupBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DbSubnetGroupBuilder
impl Debug for DbSubnetGroupBuilder
source§impl Default for DbSubnetGroupBuilder
impl Default for DbSubnetGroupBuilder
source§fn default() -> DbSubnetGroupBuilder
fn default() -> DbSubnetGroupBuilder
source§impl PartialEq for DbSubnetGroupBuilder
impl PartialEq for DbSubnetGroupBuilder
source§fn eq(&self, other: &DbSubnetGroupBuilder) -> bool
fn eq(&self, other: &DbSubnetGroupBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.